/**
  Theme Name: Teviot Dental
  Version: 1
  Author: Dental Design Products
  Author URI: http://dental-design-client.co.uk/
*/

/* =======================
-------- Contents --------
==========================

1.0 Normalize
2.0 Page Layout & Styles
3.0 Transitions / Clearing CSS
4.0 Media Queries

========================== */

/* =============================================
1.0  Normalize ---------------------------------
============================================= */

/*! normalize.css v8.0.0 | MIT License | github.com/necolas/normalize.css */button,hr,input{overflow:visible}progress,sub,sup{vertical-align:baseline}[type=checkbox],[type=radio],legend{box-sizing:border-box;padding:0}html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:ButtonText dotted 1px}fieldset{padding:.35em .75em .625em}legend{color:inherit;display:table;max-width:100%;white-space:normal}textarea{overflow:auto}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}[hidden],template{display:none}

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

/* =============================================
2.0  Page Layouts & Styles ---------------------
============================================= */

/* =WordPress Core
-------------------------------------------------------------- */
.alignnone {
  margin: 0px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
  display: block;
  margin: 0px auto 5px auto;
}

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

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

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

a img.alignnone {
  margin: 0 20px 20px 0;
}

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

a img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption {
  background: #fff;
  border: 1px solid #f0f0f0;
  max-width: 96%; /* Image does not overflow the content area */
  padding: 5px 3px 10px;
  text-align: center;
}

.wp-caption.alignnone {
  margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
  margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
  margin: 5px 0 20px 20px;
}

.wp-caption img {
  border: 0 none;
  height: auto;
  margin: 0;
  max-width: 98.5%;
  padding: 0;
  width: auto;
}

.wp-caption p.wp-caption-text {
  font-size: 11px;
  line-height: 17px;
  margin: 0;
  padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  white-space: nowrap;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  color: #21759b;
  display: block;
  font-size: 14px;
  font-size: 0.875rem;
  font-weight: bold;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000; /* Above WP toolbar. */
}

* {
  margin: 0;
  padding: 0;
}

html, * {
 -webkit-box-sizing: border-box;
 -moz-box-sizing: border-box;
 box-sizing: border-box;
}

html {
  padding: 0 !important;
  margin:0px !important;
}

body {
    font-size: 15px;
    color: #2d434d;
    font-weight: 400;
    font-family: 'Open Sans', sans-serif;
    overflow-x:hidden;
}

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

.end {
    margin-right:0 !important;
}

#ascrail2000 div {
    border: none !important;
    background-color: rgb(72, 72, 72) !important;
}

h1 {
    font-size: 46px;
    margin: 0 0 20px 0;
}

h2 {
    font-size: 30px;
}

h3 {
    font-size:22px;
}

h4 {
    font-size: 18px;
}

p {
    margin: 20px 0;
    line-height: 26px;
    font-size: 20px;
    line-height: 30px;
    font-weight: 300;
}

a, a:hover {
    text-decoration: none;
}

:focus {
    outline:none !important;
}

a {
    color: #DA8F51;
}

strong {
    font-weight: 800;
}

.alignright {
    float: right;
    padding: 5px;
    background: #FBFBFB;
    border: 1px solid #EFEFEF;
    margin: 12px 0 25px 25px;  
}

#sidebar {
    position:fixed;
    right:0;
    top:0;
    width:500px;
    height:100%;
    background: #ebebeb;
    overflow:hidden;
}

#main-page {
    width: calc(100% - 500px);
    background: #fff;
    overflow:hidden;
}

section {
    background: #dcdcdc;
    padding: 61px 0 74px 0;
    clear:both;
}

section:nth-child(odd) {
    background:#fff;
}

header {
    position: relative;
    background: url(images/banner.jpg) center center no-repeat;
    background-size: cover;
    min-height:700px;
    height: 85vh;
}

footer {
    background: #795198;
    padding: 81px 0 54px 0;
}

#sub-footer {
    background: #361f48;
    color: #fff;
    min-height:0;
    padding: 25px;
    text-align: center;
    letter-spacing: 0.5px;
}

#banner-text {
    position: absolute;
    max-width: 700px;
    text-align: center;
    color: #fff;
    bottom: 100px;
    left: 50%;
    margin-left: -350px;
}

#banner-text h1 span {
    color:#c5b0e3;
}

a.scrolldown {
    color: #fff;
    font-size: 32px;
    position: relative;
    bottom: -15px;
}

.container {
    max-width: 1100px;
    margin:0 auto;
}

#intro {
    background:#fff;
    height: 575px;
}

#intro img {
    float: left;
    width: 41%;
}

.intro-text {
    float: right;
    width: 50%;
}

.intro-text h2 {
    color: #462e5a;
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 34px;
    padding: 0;
    margin: 106px 0 35px 0;
}

.intro-text ul li {
    list-style:none;
    color:#756e68;
    font-size: 17px;
    font-weight: 400;
    margin-bottom: 15px;
}

a.butt {
    background: #462e5a;
    color: #fff;
    display: inline-block;
    padding: 16px 30px;
    border-radius: 50px;
    font-size: 17px;
    margin-top: 34px;
}

a.butt i {
    margin-left:7px;
}

a.butt:hover {
    background:#815695 !important;
    color:#fff !important;
}

.big-box {
    position:relative;
    float: left;
    width: 50%;
    height: 34vw;
    min-height: 500px;
    background: #d3cdd8;
}

.big-box.bb-img {
    background: url(images/clinic-area.png) 0 0 no-repeat;
    background-size: cover;
}

.big-box-text {
    position:absolute;
    left:0;
    right:0;
    top:0;
    bottom:0;
    margin:auto;
    width: 440px;
    height: 440px;
    color:#462e5a;
}

.big-box-text p {
    font-size: 17px;
    font-weight: 400;
    line-height: 28px;
}

.big-box-text img {
    width: 364px;
}

.big-box-text h3 {
    color: #462e5a;
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 34px;
    padding: 0;
    margin: 0;
}

#clinical-skincare {
    padding:0;
}

.left-box {
    float:left;
    height: 500px;
    width: calc(100% - 400px);
    background: url(images/skincare.png) 0 0 no-repeat;
    background-size: cover;
}

.right-box {
    float: right;
    width: 400px;
    height: 500px;
    background: #fff;
    padding: 91px;
}

.right-box ul li {
    list-style:none;
    padding-left: 55px;
    padding-top: 3px;
    background: url(images/tick.png) 0 0 no-repeat;
    background-size: 42px;
    min-height: 84px;
    line-height: 26px;
    font-size: 21px;
    color: #462e5a;
}

.left-box h3 {
    color: #fff;
    text-align: center;
    padding-top: 224px;
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 34px;
}

#our-results {
    background:#361f48;
    padding-bottom:92px;
    padding-top: 73px;
}

#our-results h3 {
    color: #fff;
    text-align: center;
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 34px;
}

#our-results img {
    width:100%;
    margin:0 auto;
    display:block;
    margin-top:50px;
}

#our-results p {
    color: #fff;
    max-width: 80%;
    margin: 0 auto;
    text-align: center;
    padding-top: 50px;
    font-size: 17px;
    font-weight: 400;
    line-height: 28px;
}

#our-results a.butt {
    float: none;
    margin: 0 auto;
    display: block;
    max-width: 300px;
    text-align: center;
    background: #fff;
    color: #362048;
    margin-top: 50px;
}

#free-consultations {
    padding: 70px 0 81px 0;
    background: #dcdcdc;
}

#free-consultations h3 {
    color:#795198;
    text-align: center;
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 34px;
}

#free-consultations p {
    font-size: 17px;
    font-weight: 400;
    line-height: 28px;
    color:#000;
    max-width: 80%;
    text-align:center;
    margin:30px auto 0 auto;
}

.footer-box {
    float: left;
    width: 50%;
    color: #fff;
    text-align:center;
    line-height: 25px;
    font-size: 17px;
    font-weight: 400;
    /* padding-top: 82px; */
    border-right: 2px solid #fff;
}

.footer-box a {
    clear: both;
    display: block;
    margin-top: 25px;
    color: #fff;
}

.footer-box a i {
    margin-left:7px;
}

.footer-box:last-child {
    border:none;
}

.intro-text ul {
    float: left;
}

.intro-text ul.seconduls {
    margin-left: 8%;
}

#split-box {
    padding: 0;
}

#sidebar img {
    margin: 0 auto;
    display: block;
    padding-top: 2vh;
    width: 24vh;
    /* max-width: 214px; */
}

.tel {
    text-align: center;
    padding: 15px 0;
    background: #815695;
    color: #fff;
    font-size: 27px;
    letter-spacing:1px;
    margin-top: 2vh;
    display: block;
}

.tel i {
    margin-right: 7px;
    font-size: 24px;
    
}

.sidebar-form input,
.sidebar-form textarea {
    width:100%;
    display:block;
    clear:both;
    border:0;
    padding: 2vh;
    margin-bottom: 1vh;
}

:focus,:hover,:active,:visited {
    outline:none;
}

.sidebar-form {
    padding: 4vh;
}

.sidebar-form textarea {
    height:23vh;
}

.sidebar-form input.submit-button {
    background: #815695;
    border-radius: 50px;
    color: #fff;
    font-size: 20px;
    margin-top: 1vw;
}

input#gdpr-optin {
    display: inline-block;
    width: 13px;
    height: 13px;
    margin: 0 2px;
}

.gdpr,
.gdpr-small {
    font-size: 13px;
    /* text-align: center; */
}

.gdpr {
    padding-bottom: 1vh;
    padding-top:1vh;
    /* text-align: center; */
    line-height: 18px;
}

.gdpr-small a {
    color: #815695;
    text-decoration: underline;
}

.sidebar-form input.submit-button:hover {
    background: #a361c1;
}

.sidebar-form.responsive-sidebar-form {
    display:none;
}

#covidnotice {
    font-size: 14px;
}

.mobile-logo {
    display:none;
}

.tel-mobile {
    display: none;
    text-align: center;
    padding: 15px 0;
    background: #815695;
    color: #fff;
    font-size: 27px;
    letter-spacing: 1px;
}









/* =================================================================================
3.0  Transitions / Clearing CSS ---------------------------------------------------------
==================================================================================== */

/* clear floated elements */

#topstrip:after,
.container:after,
#main-page:after,
.container:after,
#split-box:after {
  content:".";
  clear:both;
  height:0;
  display:block;
  visibility:hidden;
  }

/* END clear floated elements */

/* transitions */

a,
a.butt,
#return-to-top i,
.sidebar-form input.submit-button {
  -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;
}

/* END transitions */

/* return to top */

#return-to-top {
  position: fixed;
  bottom: 0px;
  left: 0;
  background: rgb(150 95 193);
  width: 50px;
  height: 50px;
  display: block;
  text-decoration: none;
  z-index: 9999;
  display: none;
  -webkit-border-radius: 0;
  border-radius: 0;
}

#return-to-top i {
  color: #fff;
  margin: 0;
  position: relative;
  left: 17px;
  top: 14px;
  font-size: 22px;
}

#return-to-top:hover {
  background: rgb(168 99 222);
}

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

.bounce2 {
  animation: bounce2 2s ease infinite;
}
@keyframes bounce2 {
  0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
  40% {transform: translateY(-15px);}
  60% {transform: translateY(-15px);}
}



















/* =================================================================================
4.0  Media Queries ---------------------------------------------------------
==================================================================================== */

/* FORM HEIGHT */


@media (max-height: 820px) {
  #sidebar img {
      width: 21vh;
  }
  .tel {
      padding: 14px 0;
      font-size: 24px;
      margin-top: 2vh;
  }
}

@media (max-height: 710px) {
  .sidebar-form textarea {
      height: 18vh;
  }
}
/* END FORM HEIGHT */

@media (max-width: 1680px) {
  #sidebar {
      width: 400px;
  }
  #main-page {
      width: calc(100% - 400px);
  }
}

@media (max-width: 1560px) {
  .container {
      width:90% !important;
  }

}

@media (max-width: 1440px) {
  .right-box {
      width: 300px;
      padding: 91px 40px 40px 40px;
  }
  .left-box {
      width: calc(100% - 300px);
  }
  #sidebar {
      width: 361px;
  }
  #main-page {
      width: calc(100% - 361px);
  }
  .sidebar-form input.submit-button {
      font-size: 16px;
  }

}

@media (max-width: 1400px) {
  #intro img {
      float: left;
      width: 38%;
      margin-top: -13px;
  }
  .intro-text {
      float: right;
      width: 59%;
  }
  .intro-text h2 {
      margin: 50px 0 35px 0;
  }
  .big-box {
      width: calc(100% - 300px);
      height: auto;
      min-height: 0;
  }
  .big-box.bb-img {
      width: 300px;
  }
  .big-box-text {
      position: relative;
      left: 0;
      right: 0;
      top: 0;
      bottom: 0;
      margin: auto;
      width: 100%;
      height: auto;
      color: #462e5a;
      padding: 59px;
  }
  #split-box {
      display: flex;
      flex-wrap: wrap;
  }

  #intro {
    height: auto;
}

}

@media (max-width: 1250px) {

#intro img {
    width: 35%;
    margin-top: 8px;
}

.intro-text {
    width: 62%;
}

.left-box h3 {
    font-size: 31px;
}

}

@media (max-width: 1200px) {
  #sidebar {
        display:none;
  }

#covidnotice h2 {
    font-size: 17px;
}

  #main-page {
      width: 100%;
  }

  .sidebar-form.responsive-sidebar-form {
      display:block;
  }

  header {
      min-height: 600px;
  }

  .gdpr,.gdpr-small {
      text-align:center;
  }

  #intro img {
      width: 39%;
      margin-top: 8px;
  }

  .intro-text {
      width: 52%;
      padding-top: 30px;
  }

  #intro {
      height: 530px;
  }

    .mobile-logo {
        display: block;
        float: none;
        margin: 0 auto 25px auto;
    }

    .tel-mobile {
        display: block;
    }

}

@media (max-width: 1000px) {

#intro img {
    width: 35%;
}

.intro-text {
    width: 61%;
}

}

@media (max-width: 880px) {

#intro img {
    display:none;
}

.intro-text {
    width: 100%;
    float: left;
    padding: 4px 0 0 0;
    text-align: center;
}

#intro {
    height: 615px;
}

.intro-text ul {
    width: 47% !important;
    margin: 0 1.5% !important;
    float: left;
    text-align: left;
    display: inline-block;
}

.intro-text ul li {
    list-style: none;
    color: #462e5a;
    font-size: 17px;
    font-weight: 400;
    margin-bottom: 15px;
    background: #d3cdd8;
    text-align: center;
    padding: 14px;
    width: 100%;
}

#banner-text {
    max-width: 600px;
    margin-left: -300px;
    top: 117px;
}

h1 {
    font-size: 38px;
}

header {
    height: 708px;
    min-height: 0;
}

.big-box.bb-img {
    width: 100%;
    height: 60vw;
    background: url(images/clinic-area.png) center center no-repeat;
    background-size: cover;
}

.big-box {
    width: 100%;
}

.left-box h3 {
    font-size: 23px;
}

.big-box-text {
    text-align: center;
}

.footer-box img {
    max-width: 260px;
}

.footer-box {
    font-size: 14px;
    padding-right: 20px;
}

.footer-box:last-child {
    padding: 0;
}

#free-consultations {
    padding: 70px 0 45px 0;
}

}

@media (max-width: 700px) {

#banner-text {
    max-width: 300px;
    margin-left: -150px;
    top: 30px;
}

.intro-text ul {
    width: 100% !important;
    margin: 0 !important;
}

.intro-text ul li {
    font-size: 16px;
}

a.butt {
    margin-top: 20px;
}

#intro {
    height: auto;
}

section {
    padding: 35px 0 52px 0;
}

.big-box-text {
    padding: 38px 0 46px 0;
    width:100%;
    max-width:90%;
}

.intro-text h2,
.big-box-text h3 {
    font-size: 25px;
}

.big-box.bb-img {
    height: 65vw;
}

.left-box {
    width: 100%;
    height: 136px;
    border-top: 5px solid #fff1;
}

.left-box h3 {
    font-size: 25px;
    padding-top: 45px;
    max-width: 240px;
    margin: 0 auto;
    color: #fff;
}

.right-box {
    width: 100%;
    padding: 42px 0 18px 0;
    height: auto;
}

.right-box ul {
    width: 210px;
    margin: 0 auto;
}

#our-results {
    padding-top: 41px;
    padding-bottom: 54px;
}

#our-results p {
    max-width: 100%;
    padding-top: 28px;
}

#our-results img {
    margin-top: 28px;
}

#our-results a.butt {
    margin-top: 28px;
}

#free-consultations {
    padding: 36px 0 49px 0;
}

#free-consultations p {
    max-width: 100%;
    margin: 25px auto 0 auto;
}

.sidebar-form {
    padding: 0;
    margin-top: 35px;
}

.footer-box {
    font-size: 14px;
    padding-right: 0;
    border: 0;
    width: 100%;
    clear: both;
    border-bottom: 1px solid #fff;
    max-width: 300px;
    margin: 0 auto 50px auto;
    float: none;
    padding-bottom: 29px;
}

footer {
    background: #795198;
    padding: 47px 0 0 0;
}

#sub-footer {
    font-size: 12px;
    line-height: 18px;
}

#return-to-top {
    display:none !important;
}

.big-box-text img {
    width: 280px;
}

#banner-text {
    max-width: 300px;
    margin-left: -150px;
    top: 34px;
}


}


@media (max-width: 400px) {
#banner-text {
    left: 0;
    right: 0;
    width: 90%;
    margin: 0 auto;
}
h1 {
    font-size: 28px;
}
p, .big-box-text p {
    font-size: 16px;
}
}

