/*
Theme Name: Beardslee
Author: Hamy Nguyen
Description: Custom WordPress Theme Designed and Developed for Beardslee Dental
Version: 0.0.1
*/

/* @font-face {
font-family: 'Avenir LT Std 55 Roman';
font-style: normal;
font-weight: normal;
src: local('Avenir LT Std 55 Roman'), url('https://www.beardsleedental.com/wp-content/themes/beardslee/fonts/AvenirLTStd-Roman.woff') format('woff');
}


@font-face {
font-family: 'Avenir LT Std 55 Oblique';
font-style: normal;
font-weight: normal;
src: local('Avenir LT Std 55 Oblique'), url('https://www.beardsleedental.com/wp-content/themes/beardslee/fonts/AvenirLTStd-Oblique.woff') format('woff');
}


@font-face {
font-family: 'Avenir LT Std 35 Light';
font-style: normal;
font-weight: normal;
src: local('Avenir LT Std 35 Light'), url('https://www.beardsleedental.com/wp-content/themes/beardslee/fonts/AvenirLTStd-Light.woff') format('woff');
}


@font-face {
font-family: 'Avenir LT Std 35 Light Oblique';
font-style: normal;
font-weight: normal;
src: local('Avenir LT Std 35 Light Oblique'), url('https://www.beardsleedental.com/wp-content/themes/beardslee/fonts/AvenirLTStd-LightOblique.woff') format('woff');
}


@font-face {
font-family: 'Avenir LT Std 45 Book';
font-style: normal;
font-weight: normal;
src: local('Avenir LT Std 45 Book'), url('https://www.beardsleedental.com/wp-content/themes/beardslee/fonts/AvenirLTStd-Book.woff') format('woff');
}


@font-face {
font-family: 'Avenir LT Std 45 Book Oblique';
font-style: normal;
font-weight: normal;
src: local('Avenir LT Std 45 Book Oblique'), url('https://www.beardsleedental.com/wp-content/themes/beardslee/fonts/AvenirLTStd-BookOblique.woff') format('woff');
}


@font-face {
font-family: 'Avenir LT Std 65 Medium';
font-style: normal;
font-weight: normal;
src: local('Avenir LT Std 65 Medium'), url('https://www.beardsleedental.com/wp-content/themes/beardslee/fonts/AvenirLTStd-Medium.woff') format('woff');
}


@font-face {
font-family: 'Avenir LT Std 65 Medium Oblique';
font-style: normal;
font-weight: normal;
src: local('Avenir LT Std 65 Medium Oblique'), url('https://www.beardsleedental.com/wp-content/themes/beardslee/fonts/AvenirLTStd-MediumOblique.woff') format('woff');
}


@font-face {
font-family: 'Avenir LT Std 85 Heavy';
font-style: normal;
font-weight: normal;
src: local('Avenir LT Std 85 Heavy'), url('https://www.beardsleedental.com/wp-content/themes/beardslee/fonts/AvenirLTStd-Heavy.woff') format('woff');
}


@font-face {
font-family: 'Avenir LT Std 85 Heavy Oblique';
font-style: normal;
font-weight: normal;
src: local('Avenir LT Std 85 Heavy Oblique'), url('https://www.beardsleedental.com/wp-content/themes/beardslee/fonts/AvenirLTStd-HeavyOblique.woff') format('woff');
}


@font-face {
font-family: 'Avenir LT Std 95 Black';
font-style: normal;
font-weight: normal;
src: local('Avenir LT Std 95 Black'), url('https://www.beardsleedental.com/wp-content/themes/beardslee/fonts/AvenirLTStd-Black.woff') format('woff');
}


@font-face {
font-family: 'Avenir LT Std 95 Black Oblique';
font-style: normal;
font-weight: normal;
src: local('Avenir LT Std 95 Black Oblique'), url('https://www.beardsleedental.com/wp-content/themes/beardslee/fonts/AvenirLTStd-BlackOblique.woff') format('woff');
} */

/* @font-face {
font-family: 'Norwester';
font-style: normal;
font-weight: normal;
src: local('Norwester'), url('https://www.beardsleedental.com/wp-content/themes/beardslee/fonts/norwester.woff') format('woff');
} */

#wpadminbar{
  display: none;
}

html {
    height: 100%;
    background: #005752;
}

main{
  background: #fff;
}

body {
    margin: 0;
    height: 100%;
    overflow: auto;
}

/* section{
      overflow-x: hidden;
} */

span{
  font-family: 'Roboto', sans-serif;
}

p{
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

a{
    font-family: 'Roboto', sans-serif;
}

a:hover{
  -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -o-transition: all 0.5s;
    -ms-transition: all 0.5s;
    transition: all 0.5s;
}

h1{
  font-size: 40px;
  line-height: 1.4!important;
  font-family: 'Roboto', sans-serif!important;
  font-weight: 900;
  text-transform: uppercase;
}

h2{
  font-size: 24px;
  line-height: 1.4!important;
  font-family: 'Roboto', sans-serif!important;
  font-weight: 700;
  text-transform: capitalize;
}

h3{
  line-height: 1.4!important;
  font-family: 'Roboto', sans-serif!important;
  text-transform: capitalize;
}

.js-nav{
  position: fixed;
  top: 0;
  right: 0;
  padding: 4.375rem 1.875rem;
  z-index: 1000;
}

.nav_overlay{
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  overflow: hidden;
  z-index: -1;
}

.nav_overlay::after {
    content: "";
    background-color: #f4f1ed;
    position: absolute;
    top: 0;
    left: 0%;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.nav_logo {
    margin: 0 0 25px;
}

.nav_logo img{
  width: 134px;
  height: auto;
  display: block;
}

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

.nav-desktop .menu li{
  padding: .875rem .625rem .875rem 0;
  position: relative;
}

.nav-desktop .menu li a, #menu-mobile-menu li a{
  text-transform: capitalize;
  text-decoration: none;
  color: #484848;
  font-size: 15px;
  font-family: 'Roboto', sans-serif;
}

.menu li a::before {
  background-color: #d5d4cb;
  opacity: .5;
}

.menu li a::after, .menu li a::before {
    position: absolute;
    height: 2px;
    width: 100%;
    content: "";
    bottom: 0;
    left: 0;
}

.menu li a::after {
    opacity: .4;
    background-color: #ff4f00;
    -ms-transform-origin: center left;
    transform-origin: center left;
    -ms-transform: scaleX(0);
    transform: scaleX(0);
    transition: transform .3s cubic-bezier(.645,.045,.355,1);
}

.menu li a:hover::after, .menu li a:focus::after {
    -ms-transform: scaleX(1);
    transform: scaleX(1);
}

.menu li a:hover, .menu li a:focus, #menu-mobile-menu li a:hover, #menu-mobile-menu li a:focus{
  color: #ff5100;
}

.menu li a:focus, #menu-mobile-menu li a:focus{
  outline: 0;
}

.header-socials{
  list-style: none;
  padding: 0;
  margin: 30px 0px 25px;
}

.header-socials li{
  display: inline-block;
  margin-right: 8px;
}

.header-socials li a i{
  font-size: 30px;
  color: #ff5100;
}

.header-socials li a:hover i, .header-socials li a:focus i{
  color: #636363;
}

.header-socials li a:focus{
  outline: 0;
}

.header-mobile{
  text-decoration: none;
  color: #005752;
  font-weight: 700;
}

.header-mobile:hover, .header-mobile:focus{
  color: #ff5100;
}

.nav-mobile {
  display: none;
}

@media(max-width: 1440px){
  .nav-desktop {
      padding: 3.4375rem 1.875rem;
  }
}

@media(max-width: 1025px){
  h1{
    font-size: 34px;
  }
  .nav-desktop{
    display: none;
  }
  .nav-mobile {
    display: block;
    padding: 0px;
    overflow-x: hidden;
    overflow-y: scroll;
  }

  .nav_mobile_button{
    display: inline-block;
    overflow: visible;
    border: 0;
    position: relative;
    z-index: 15;
    padding: .9375rem;
    background-color: #f3f3f3;
    text-align: center;
    font: inherit;
    line-height: normal;
    cursor: pointer;
    user-select: none;
    margin: 0;
  }

  .nav_mobile_button:focus{
    outline: 0;
  }

  .nav-mobile .nav_logo{
    display: inline-block;
    vertical-align: middle;
    margin: 0px;
    width: 100px;
  }

  .nav-mobile .nav_logo img{
    width: 100%;
  }
  .nav_burger {
    width: 30px;
    height: 30px;
    margin-left: 15px;
    overflow-x: hidden;
    display: inline-block;
    vertical-align: middle;
  }
  .nav_burger_item {
    width: 25px;
    height: 3px;
    background-color: #ff4f00;
    display: block;
    margin: 5px 0;
    position: relative;
    -ms-transform: translateX(0);
    transform: translateX(0);
  }
  .nav_burger_item:nth-child(3), .nav_burger_item:nth-child(3)::before{
    width: 15px;
  }
  .nav_burger_item:nth-child(1) {
    transition: transform .6s cubic-bezier(.455,.03,.515,.955) .4s;
  }
  .nav_burger_item::before {
    content: "";
    display: inline-block;
    position: absolute;
    top: 0;
    left: 0;
    width: 25px;
    height: 3px;
    background-color: #000;
    -ms-transform: translateX(-200%);
    transform: translateX(-200%);
  }

  .mobile_nav_container{
    position: relative;
    overflow-y: scroll;
    background-color: #f3f3f3;
    margin: 0;
    z-index: 10;
        padding: 0 1.5rem 30px;
    -webkit-overflow-scrolling: touch;
    -ms-transform: translateY(-100%);
    transform: translateY(-100%);
    -webkit-transform: translateY(-100%);
    -moz-transform: translateY(-100%);
    -o-transform: translateY(-100%);
    transition: transform 1s cubic-bezier(.645,.045,.355,1);
  }

  #menu-mobile-menu{
    list-style: none;
    padding: 0px;
  }

  .menu-item {
    padding: 10px 2px;
    display: block;
    background-color: transparent;
    position: relative;
  }
  .has-mobile-menu-open .mobile_nav_container {
      -ms-transform: translateY(0);
      transform: translateY(0);
      -webkit-transform: translateY(0);
      -moz-transform: translateY(0);
      -o-transform: translateY(0);
  }
  .has-mobile-menu-open .nav_burger_item {
      -ms-transform: translateX(200%);
      transform: translateX(200%);
  }
  .has-mobile-menu-open .nav_burger_item:nth-child(1) {
      transition: transform .6s cubic-bezier(.455,.03,.515,.955) .1s;
  }
  .has-mobile-menu-open .nav_burger_item:nth-child(2) {
    transition: transform .6s cubic-bezier(.455,.03,.515,.955) .2s;
  }

  .nav_burger_item:nth-child(2) {
      transition: transform .6s cubic-bezier(.455,.03,.515,.955) .5s;
  }
  .has-mobile-menu-open .nav_burger_item:nth-child(3) {
    transition: transform .6s cubic-bezier(.455,.03,.515,.955) .3s;
  }
  .nav_burger_item:nth-child(3) {
    transition: transform .6s cubic-bezier(.455,.03,.515,.955) .6s;
  }
  .contact-bgrd{
    background-position: 64% center!important;
    background-attachment:scroll;
  }
  .contact-bgrd .elementor-background-overlay{
    opacity: 0.24!important;
  }
}

footer{
  background: #ff4d00;
  padding: 0px 50px;
  overflow: hidden;
}

#banner-slider .slick-slide:after{
  content:"";
  background: rgba(0,0,0,0.2);
  width: 100%;
  height: 100%;
  position: absolute;
  top:0;
  right:0;
  bottom:0;
  left:0;
}

.elementor-element.elementor-element-b0cbc1a.elementor-widget.elementor-widget-image-carousel{
      margin-bottom: 0px;
}

.banner-overlay{
  position: absolute!important;
  top: 50%;
  width: auto!important;
  padding: 30px 40px;
  background: rgba(0, 87, 82, 0.80);
  transform: translateY(-50%);
}

.banner-overlay h1{
  color: #fff;
}

.bordered-row{
  border: 1px solid #005752;
}

.button-icon{
  color: #484848;
  font-weight: bold;
  vertical-align: middle;
  -ms-flex-item-align: start;
  align-self: flex-start;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.button-icon:before, .not-first a:before{
    content: '';
    display: inline-block;
    width: 36px;
    height: 36px;
    background: url('https://www.beardsleedental.com/wp-content/uploads/2018/12/icon-arrow-white@2x.png') #ff3500 left -36px top no-repeat;
    background-size: 72px 36px;
    border-radius: 50%;
    -webkit-box-shadow: 0px 5px 14px 0px rgba(255,110,46,0.3);
    box-shadow: 0px 5px 14px 0px rgba(255,110,46,0.3);
    margin-right: 16px;
    -webkit-transition: background-color 0.45s cubic-bezier(0.475, 0.425, 0, 0.995),background-position 0.6s cubic-bezier(0.835, -0.005, 0.06, 1);
    transition: background-color 0.45s cubic-bezier(0.475, 0.425, 0, 0.995),background-position 0.6s cubic-bezier(0.835, -0.005, 0.06, 1);
}

.button-icon:hover:before, .button-icon:focus:before, .service-tab .not-first a:hover:before, .service-tab .not-first a:focus:before {
    background-color: #ff3500;
    background-position-x: 0;
}

.collage-image.left .red-square{
  position: absolute;
  z-index: 0;
  background-color: #005752;
  transition: right 1s ease-in;
  left: -50%;
  width: 400px;
  height: 100px;
  top: 50%;
  transform: translateY(-50%);
}

.side-image{
  z-index:1;
  position: relative;
  height: 600px;
  width: auto;
}

.rotated-heading{
  color: #ff3500;
}

.home-service-text{
  background: #f4f1ed;
}

.home-service-list{
  list-style: none;
  padding: 0px;
  margin:30px 0px;
}

.home-service-list li{
  margin-bottom:20px;
}

.orange-service{
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  overflow: hidden;
  background-color: #005752;
  padding:0px 20px;
  color: #fff;
  font-family: 'Roboto', sans-serif;
}

.orange-service div{
  -webkit-box-flex: 1;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
  font-weight: 500;
  font-size: 15px;
}

.orange-service p{
  margin-bottom: 5px;
}

.orange-service img{
  height: 30px!important;
  width: 30px!important;
}

.service-care h2{
  font-family: 'Homemade Apple', cursive!important;
  color: #ffba9c!important;
  position: absolute;
  top: -150px;
  font-size: 8.25rem;
  left: -20px;
}

.hours{
  list-style: none;
  padding: 0px;
  margin: 0px;
}

.hours li{
  margin: 0 auto 10px auto;
  text-align: center;
  max-width: 400px;
}

.hours p{
  margin: 0px;
  color: #fff;
  -webkit-box-flex: 1;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
  position: relative;
  font-weight: bold!important;
  font-family: 'Roboto', sans-serif;
  display: inline-block;
  width: 30%;
  text-align: left;
  text-transform: uppercase;
}

.hours .time{
  color: #fff;
  display: inline-block;
  text-align: right;
  width: 40%;
  vertical-align: middle;
}

.hours span.line{
  position: relative;
  width: 40px;
  display: inline-block;
  height: 10px;
}
.hours .line:after{
  content: "";
  position: absolute;
  background-color: #ff3500;
  transition: right 1s ease-in;
  right: 0;
  width: 100%;
  height: 1px;
  top: 50%;
  transform: translateY(-50%);
}

.visit{
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.visit img{
  width: 30px;
  height: 30px!important;
}

.visit a{
  color: #fff;
  -webkit-box-flex: 1;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  padding-left: 10px;
}

.visit a:hover, .visit a:focus{
  color: #ff4d00;
}

.paint-btn{
  width: 300px;
  height: 155px;
  background-image: url(https://www.beardsleedental.com/wp-content/uploads/2018/12/beardslee-paint-mark.png);
  padding-top: 55px;
  background-size: cover;
  display: block;
  text-align: center;
  color: #fff;
  text-transform: uppercase;
  line-height: 1.4;
  float: right;
  margin: 0 auto;
  font-weight: bold;
}

.paint-btn-container{
  z-index: 1;
}

.paint-btn:hover, .paint-btn:focus, .booking-btn:hover, .booking-btn:focus{
  color: #005752;
}

.paint-btn:focus, .booking-btn:focus, .marker a:focus{
  outline: none;
}

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

.social-list li{
  display: inline-block;
  margin-right: 8px;
}

.credits a, .credits p{
  color: #ebebeb;
  font-family: 'Roboto', sans-serif;
  margin: 0;
}

.credits a:hover, .credits a:focus{
  color: #fff;
}

.cursive-heading h2{
  font-family: 'Homemade Apple',cursive!important;
  color: #ffba9c!important;
  font-size: 2rem;
}

.no-widget-gap.elementor-widget{
  margin-bottom: 0px!important;
}

.principles{
  list-style-type: none;
}

.principles li{
  position: relative;
  padding: 8px 0px 8px 15px;
  counter-increment: list +1;
}

.principles li:before {
  box-sizing: border-box;
  content: counter(list);
  position: absolute;
  bottom: .25em;
  left: -2.5em;
  background: transparent;
  color: #2d2d2d;
  width: 2.5em;
  height: 2.5em;
  text-align: center;
  padding-top: .7em;
  top: 50%;
  transform: translateY(-50%);
  background: #ffb695;
  box-shadow: 5px 5px 0 0 #ff4d00;
  font-weight: bold;
  font-family: 'Norwester','Osward',sans-serif!important;
}

.principles li p{
  color: #6f6f6f;
      margin: 8px 0;
}

/* Service Tabs */
.tabs-linking{
  color: #ff3500;
  cursor: pointer;
}

.service-tab .elementor-tabs-wrapper{
  background: #f3f1ec;
      padding-bottom: 50px;
}

.service-tab .elementor-tab-title{
  border: none!important;
  padding: 15px 25px;
}

.service-tab .elementor-tabs-content-wrapper {
    border: none!important;
    background: #262626;
    border-width: 0px!important;
}

.service-tab .elementor-tab-content.not-first-content.elementor-active{
    padding: 0px;
    display: flex;
    height: 100%;
}

.service-tab .tab-col-left{
  padding: 56px 30px 50px 30px;
  flex: 2;
  background: #005752;
}

.service-tab .tab-col-right{
  flex: 1;
  position: relative;
}

.service-tab .tab-col-right:before{
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
}

.service-tab .tab-col-right.bonding:before{
  background: url(https://www.beardsleedental.com/wp-content/uploads/2018/12/Chipped-Tooth-Repair-by-Dental-Bonding-e1545092743430.jpg) no-repeat 0 0;
  background-size: cover;
  background-position: center;
}

.service-tab .tab-col-right.implant:before{
  background: url(https://www.beardsleedental.com/wp-content/uploads/2018/12/dental-implants-e1545096455868.jpg) no-repeat 0 0;
  background-size: cover;
  background-position: center;
}

.service-tab .tab-col-right.veneers:before{
  background: url(https://www.beardsleedental.com/wp-content/uploads/2018/12/dental-veneers-e1545098333806.jpg) no-repeat 0 0;
  background-size: cover;
  background-position: center;
}

.service-tab .tab-col-right.whitening:before{
  background: url(https://www.beardsleedental.com/wp-content/uploads/2018/12/great-teethwhite-e1545098238118.jpg) no-repeat 0 0;
  background-size: cover;
  background-position: center;
}

.service-tab .tab-col-right.fillings:before{
  background: url(https://www.beardsleedental.com/wp-content/uploads/2019/01/White-Fillings-e1546474723855.jpg) no-repeat 0 0;
  background-size: cover;
  background-position: center;
}

.service-tab .tab-col-right.crowns:before{
  background: url(https://www.beardsleedental.com/wp-content/uploads/2019/01/dental-crownsjpg-e1546474681283.jpg) no-repeat 0 0;
  background-size: cover;
  background-position: center;
}

.service-tab .tab-col-right.roots-canal:before{
  background: url(https://www.beardsleedental.com/wp-content/uploads/2019/01/Root-Canal-e1546474569169.png) no-repeat 0 0;
  background-size: cover;
  background-position: center;
}

.service-tab .tab-col-right.extractions:before{
  background: url(https://www.beardsleedental.com/wp-content/uploads/2019/01/tooth-extraction-e1546474745802.jpg) no-repeat 0 0;
  background-size: cover;
  background-position: center;
}

.service-tab .tab-col-right.fill-a-space:before{
  background: url(https://www.beardsleedental.com/wp-content/uploads/2019/01/gap-in-teeth-e1546474644392.jpg) no-repeat 0 0;
  background-size: cover;
  background-position: center;
}

.service-tab .tab-col-right.cleanings:before{
  background: url(https://www.beardsleedental.com/wp-content/uploads/2019/01/Dental-Cleanings-e1546474704503.jpg) no-repeat 0 0;
  background-size: cover;
  background-position: center;
}

.service-tab .tab-col-right.gum:before{
  background: url(https://www.beardsleedental.com/wp-content/uploads/2019/01/Gum-Disease-e1546474622777.jpg) no-repeat 0 0;
  background-size: cover;
  background-position: center;
}

.service-tab .tab-col-right.sealants:before{
  background: url(https://www.beardsleedental.com/wp-content/uploads/2019/01/Dental-Sealants-e1546474663335.jpg) no-repeat 0 0;
  background-size: cover;
  background-position: center;
}

.service-tab .tab-col-right.night-guards:before{
  background: url(https://www.beardsleedental.com/wp-content/uploads/2019/01/Hard-Night-Guard-e1546474596623.jpg) no-repeat 0 0;
  background-size: cover;
  background-position: center;
}

.service-tab .elementor-tab-content.not-first-content h3{
    color: #ff3500;
    font-size: 18px;
}

.service-tab .elementor-tab-title.first h3{
  color: #005752;
  font-size: 20px;
  line-height: 1.4;
  margin-top: 50px;
  position: relative;
  padding-bottom: 30px;
      margin-bottom: 0px;
}

.service-tab .elementor-tab-title.first h3:after {
    content: " ";
    position: absolute;
    left: 0;
    bottom:0px;
    height: 3px;
    width: 75px;
    background: #005752;
}

.service-tab.general .elementor-tab-content.first{
  background-image: linear-gradient( rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url(https://www.beardsleedental.com/wp-content/uploads/2018/12/general-dentistry.jpg);
  height: 100%;
  background-position: center;
  background-size: cover;
}

.service-tab.cosmetic .elementor-tab-content.first{
  background-image: linear-gradient( rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url(https://www.beardsleedental.com/wp-content/uploads/2018/12/heart-hands.jpg);
  height: 100%;
  background-position: center;
  background-size: cover;
}

.service-tab.family .elementor-tab-content.first{
  background-image: linear-gradient( rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url(https://www.beardsleedental.com/wp-content/uploads/2018/12/great-family.jpg);
  height: 100%;
  background-position: center;
  background-size: cover;
}

.service-tab .elementor-tab-content{
  border-width: 0px!important;
  border: 0px none #d4d4d4!important;
}

.elementor-widget-tabs .elementor-tab-content, .elementor-widget-tabs .elementor-tab-title, .elementor-widget-tabs .elementor-tab-title:after, .elementor-widget-tabs .elementor-tab-title:before, .elementor-widget-tabs .elementor-tabs-content-wrapper{
    border: 0px none transparent!important;
}

.service-tab .elementor-tab-title.first p{
  margin-bottom: 0px;
  color: #6f6f6f;
  font-weight: 400;
  display: none;
}

.service-tab .elementor-tab-content p{
  color: #fff;
}

.service-tab .not-first a{
    color: #484848;
    font-weight: 500;
    vertical-align: middle;
    -ms-flex-item-align: start;
    align-self: flex-start;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    font-size: 16px;
}

.service-tab .not-first.elementor-active a{
  color: #ff4d00;
}

.service-tab .first a:hover{
  cursor: default;
}

.service-tab .first{
  pointer-events: none;
  cursor: default;
}

.service-tab .first a:focus{
  outline: none;
}

.service-tab .elementor-tab-mobile-title{
  display: none!important;
}

.marker__layer {
    height: 80px;
    width: 1px;
    background: #ffb695;
    position: relative;
    margin: -80px auto 0 auto;

}

.marker__layer:before {
    content: "";
    position: absolute;
    box-shadow: 0 3px 6px rgba(26,9,68,.12);
    top: -16px;
    border: 3px solid #ff3500;
    width: 16px;
    height: 16px;
    border-radius: 100%;
    left: -8px;
    animation: b 2.5s infinite forwards;
}

@keyframes b {
    0% {
        box-shadow: 0 0 0 12px rgba(255, 77, 0, 0.74),0 0 0 18px rgba(255, 77, 0, 0.58);
    }

    40% {
        box-shadow: 0 0 0 12px rgba(255, 77, 0, 0),0 0 0 18px hsla(0,0%,100%,0)
    }

    to {
        box-shadow: 0 0 0 12px rgba(255, 77, 0, 0.48),0 0 0 18px hsla(0,0%,100%,0)
    }
}

.contact-a{
  font-size: 20px;
  color: #fff;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.contact-a:hover, .contact-a:focus{
  color: #ff4d00;
}

.contact .nf-form-fields-required{
  display: none;
}

.contact .nf-field-label label{
  color: #6f6f6f;
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 20px;
}

.contact .nf-field-element input, .contact .nf-field-element select, .contact .nf-field-element textarea {
  color: #6f6f6f;
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 15px;
}

.contact .ninja-forms-field{
  padding: 10px;
  border: 1px solid #cacaca;
}

a:focus{
  outline: 0;
}

.contact .nf-error-msg, .contact .ninja-forms-req-symbol {
    color: #ff4d00;
    font-family: 'Roboto', sans-serif;
}

.contact .ninja-forms-field:focus{
  outline: 0;
  box-shadow: 0px 0px 2px 2px rgba(255, 77, 0, 0.48);
}

.contact .nf-error .ninja-forms-field {
    border: 1px solid #ff4d00;
}

.contact .field-wrap button, .contact input[type=button], .contact input[type=submit] {
   font-family: 'Roboto', sans-serif;
   text-transform: uppercase;
   color: #fff;
    border: none;
    padding: 10px 20px 7px;
    background: #ff4d00;
    -webkit-appearance: none;
    font-weight: bold;
}

strong{
  font-family: 'Roboto', sans-serif;
  font-weight: bold;
  color: #005752;
}

.booking-btn{
  background-color: #ff4d00;
  position: fixed;
  z-index: 2;
  width: 90px;
  height: 50px;
  outline: none;
  color: #ffffff;
  text-decoration: none;
  line-height: 1.4;
  padding: 8px 0px 0px 26.5px;
  top:0;
  font-weight: 700;
}

#nf-form-3-cont .nf-field-label label, .contact .nf-field-label label {
	color: #6f6f6f;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 20px;
}

#nf-form-3-cont .nf-field-element input, #nf-form-3-cont .nf-field-element select, #nf-form-3-cont .nf-field-element textarea,
.contact .nf-field-element input, .contact .nf-field-element select, .contact .nf-field-element textarea {
    color: #6f6f6f;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 15px;
}

.contact .ninja-forms-field, #nf-form-3-cont .ninja-forms-field {
    padding: 10px;
    border: 1px solid #cacaca;
}

.contact .field-wrap button, .contact input[type=button], .contact input[type=submit],
#nf-form-3-cont .field-wrap button, #nf-form-3-cont input[type=button], #nf-form-3-cont input[type=submit]{
	font-family: 'Roboto', sans-serif;
    text-transform: uppercase;
    color: #fff;
    border: none;
    padding: 10px 20px 7px;
    background: #ff4d00;
    -webkit-appearance: none;
    font-weight: bold;
}

.contact .nf-form-fields-required, #nf-form-3-cont .nf-form-fields-required{
	display: none;
}

h2 {
	color: #ff4d00!important;
}

@media(min-width: 1600px){
  .collage-image.left .red-square{
    width: 800px;
    left: -80%;
  }
}

@media(min-width: 1025px){
  .white-back{
    background: #fff;
    z-index: 1;
  }

  .home-ara:after{
    content: "";
    position: absolute;
    z-index: 0;
    background-color: #005752;
    transition: right 1s ease-in;
    right: 0;
    width: 600px;
    height: 1px;
    top: 50%;
    transform: translateY(-50%);
  }
}

@media(min-width: 1023px){
  .orange-box{
    height: 400px!important;
  }
}

@media(min-width: 767px){
  .rotated-heading{
    position: absolute;
    -webkit-transform: rotate(-90deg) translateX(-100%);
    transform: rotate(-90deg) translateX(-100%);
    bottom: 0px;
    height: 0px;
    width: 0px;
    margin-top: 90px;
    z-index:2;
    color: #ff3500;
    top: -15px;
    left: 10px;
  }
  .orange-box{
    height: 300px;
    background-color: #ff4d00;
    width: 100%;
    position: absolute;
    z-index: -1;
    bottom: -10px;
    left: 10px;
    top: -10px;
  }
  .service-tab .elementor-tabs-wrapper{
    width: 33.33333%!important;
  }
}

@media(max-width: 1240px){
  .banner-container .elementor-container{
    height: auto!important;
  }
}

@media(max-width: 768px){
  .banner-overlay{
    position: relative!important;
    top: 0;
    padding: 30px 40px;
    transform: translateY(0%);
    background: rgba(0, 87, 82, 1);
    margin-top:-3px;
    width: 100%!important;
  }
  .banner-overlay h1{
    text-align: center;
  }
}

@media(max-width: 767px){
  .home-service-text{
    background: transparent;
  }
  .service-section, .paint-btn-container{
    background-color: #f4f1ed;
  }
  .service-care h2 {
    position: relative;
    top: 0px;
    left: 0px;
    text-align: center;
  }
  .paint-btn{
    float: none;
    margin-bottom: -90px;
    width: 250px;
    height: 150px;
    padding-top: 45px;
    background-size: contain;
    text-transform: uppercase;
    background-repeat: no-repeat;
  }
  .social-list{
    text-align: center;
  }
  .paint-btn-container.white{
    background-color: transparent;
  }
  .orange-box{
    background-color: #ff4d00;
    width: 80%;
    position: absolute;
    z-index: -1;
    bottom: -10px;
    top: -10px;
    left: 10%;
  }
  .service-tab .elementor-tabs-wrapper {
    display: block!important;
  }
  .service-tab .elementor-tabs-wrapper{
    width: 100%!important;
  }
  .service-tab .elementor-tab-title.first p {
    margin-bottom: 0px;
  }
  .service-tab.general .elementor-tab-content.first, .service-tab.cosmetic .elementor-tab-content.first, .service-tab.family .elementor-tab-content.first {
    height: 200px;
  }
  .elementor-widget-tabs .elementor-tab-desktop-title {
    padding: 10px 25px!important;
  }
  .service-tab .elementor-tab-content.not-first-content.elementor-active {
    display: block;
  }
  .service-tab .tab-col-right {
    height: 150px;
  }
  .service-tab .tab-col-right.bonding:before {
    background: url(https://www.beardsleedental.com/wp-content/uploads/2018/12/Chipped-Tooth-Repair-by-Dental-Bonding.jpg) no-repeat 0 0;
      background-size: cover;
      background-position: center;
  }

  .service-tab .tab-col-right.implant:before {
    background: url(https://www.beardsleedental.com/wp-content/uploads/2018/12/dental-implants.jpg) no-repeat 0 0;
      background-size: cover;
      background-position: center;
  }

  .service-tab .tab-col-right.veneers:before {
    background: url(https://www.beardsleedental.com/wp-content/uploads/2018/12/dental-veneers.jpg) no-repeat 0 0;
      background-size: cover;
      background-position: center;
  }
  .service-tab .tab-col-right.whitening:before {
    background: url(https://www.beardsleedental.com/wp-content/uploads/2018/12/great-teethwhite.jpg) no-repeat 0 0;
      background-size: cover;
      background-position: center;
  }
  .service-tab .tab-col-right.crowns:before {
    background: url(https://www.beardsleedental.com/wp-content/uploads/2019/01/dental-crownsjpg.jpg) no-repeat 0 0;
      background-size: cover;
      background-position: center;
  }

  .service-tab .tab-col-right.fillings:before {
    background: url(https://www.beardsleedental.com/wp-content/uploads/2019/01/White-Fillings.jpg) no-repeat 0 0;
      background-size: cover;
      background-position: center;
  }

  .service-tab .tab-col-right.roots-canal:before {
    background: url(https://www.beardsleedental.com/wp-content/uploads/2019/01/Root-Canal.png) no-repeat 0 0;
      background-size: cover;
      background-position: center;
  }
  .service-tab .tab-col-right.extractions:before {
    background: url(https://www.beardsleedental.com/wp-content/uploads/2019/01/tooth-extraction.jpg) no-repeat 0 0;
      background-size: cover;
      background-position: center;
  }
  .service-tab .tab-col-right.fill-a-space:before {
    background: url(https://www.beardsleedental.com/wp-content/uploads/2019/01/gap-in-teeth.jpg) no-repeat 0 0;
      background-size: cover;
      background-position: center;
  }

  .service-tab .tab-col-right.cleanings:before {
    background: url(https://www.beardsleedental.com/wp-content/uploads/2019/01/Dental-Cleanings.jpg) no-repeat 0 0;
      background-size: cover;
      background-position: center;
  }

  .service-tab .tab-col-right.gum:before {
    background: url(https://www.beardsleedental.com/wp-content/uploads/2019/01/Gum-Disease.jpg) no-repeat 0 0;
      background-size: cover;
      background-position: center;
  }
  .service-tab .tab-col-right.sealants:before {
    background: url(https://www.beardsleedental.com/wp-content/uploads/2019/01/Dental-Sealants.jpg) no-repeat 0 0;
      background-size: cover;
      background-position: center;
  }
  .service-tab .tab-col-right.night-guards:before {
    background: url(https://www.beardsleedental.com/wp-content/uploads/2019/01/Hard-Night-Guard.jpg) no-repeat 0 0;
      background-size: cover;
      background-position: center;
  }
}

@media(max-width: 460px){
  #banner-slider .slick-slide-inner {
      height: 500px;
      text-align: center;
      overflow: hidden;
  }

  #banner-slider .slick-slide-image {
      width: auto;
      height: 100%;
      position: relative;
      left: 100%;
      margin-left: -160%;
      max-width: none;
  }
  .service-care h2 {
    font-size: 5.2rem;
  }

}

.privacy-policy h2, .privacy-policy h3, .privacy-policy h4{
  color: #005752;
}
