html {
  scroll-behavior: smooth;
}

.main-wrap {
  padding-top: 40px;
}

.main-wrap h2 {
  text-align: center;
  color: #232735;
}

.main-wrap h3 {
  font-size: 18px;
  color: #232735;
  margin-bottom: 15px;
}

.main-wrap .desc {
  margin: 50px auto 70px;
  max-width: 1100px;
  text-align: center;
}

#branch .brand-state {
  color: #232735;
  font-family: "Aleo-Bold";
  font-size: 18px;
  display: block;
  margin-bottom: 15px;
}

#branch .location-name {
  margin-bottom: 15px;
}

#branch #fullAddress,
.main-wrap p {
  font-family: "Source-Sans-Pro-Regular", sans-serif;
  font-size: 18px;
  line-height: 26px;
  color: #232735;
}

#branch .get-directions {
  margin-bottom: 32px;
}

.main-wrap a {
  font-family: "Source-Sans-Pro-Regular", sans-serif;
}

#branch .get-directions .icon-external-link1 {
  margin-left: 5px;
}

#branch .preferred-providers {
  margin-bottom: 32px;
}

#branch .img-wrap {
  margin-bottom: 15px;
  text-align: center;
}

#branch .payment-plans .row {
  display: flex;
  align-items: center;
  justify-content: center;
}

.justify__content {
  justify-content: initial !important;
}

#branch .payment-plans {
  margin: 20px 0 40px;
}

#branch .payment-plans h3 {
  margin-bottom: 0;
}

#branch .payment-plans p {
  margin: 0;
}

#branch .ndc__button.secondary button {
  background-color: #232735;
  color: #fff;
  padding: 12px 25px;
  margin-left: 20px;
}

#branch .ndc__button i {
  top: initial;
}

#branch .button-wraps .booking-form-btn {
  float: none;
}

#branch .ndc__button.rem-left-mar.secondary button {
  margin-left:0;
}

.anchors.row {
  box-sizing: border-box;
  border-radius: 5px;
  border: 1px solid rgba(151, 151, 151, 0.5);
  margin: 0;
  margin-bottom: 60px;
}

.anchors .anchor {
  box-sizing: border-box;
  border-right: 1px solid rgba(151, 151, 151, 0.5);
  padding: 10px 15px;
}

.anchors .anchor:last-child {
  border-right: none;
}

.more-infos {
  margin-bottom: 30px;
}

.more-infos h3 {
  margin-bottom: 0;
}

.more-infos ul,
.treatments-wrap ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.more-infos span,
.more-infos li {
  color: #777;
  text-transform: capitalize;
  font-family: "Source-Sans-Pro-Regular", sans-serif;
}

.more-infos span:before {
  content: ",";
  display: inline-block;
  margin-right: 4px;
  margin-left: -3px;
}

.more-infos span:first-child:before {
  content: " " !important;
  margin: initial;
}

.more-infos span:last-child:before {
  content: " and ";
  margin-left: 0;
  text-transform: lowercase;
}

#banners .banner-img {
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  overflow: hidden;
}

#banners .banner-details {
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  background-color: #FAFAFC;
  text-align: center;
  padding: 30px;
}

#banners h3 {
  margin-bottom: 20px
}

#banners .banner-button {
  background-color: #232735;
  color: #fff;
  padding: 12px 25px;
  font-size: 14px;
  font-family: 'Panton-Black';

  position: relative;
  -webkit-tap-highlight-color: transparent;
  -webkit-appearance: none;
  overflow: hidden;
  letter-spacing: 1px;
  border-radius: 4px;
  border: none;
  color: #fff;
  cursor: pointer;
  text-transform: uppercase;
}

.team-wrap {
  padding: 100px 0;
  text-align: center;
}

.team-wrap h3 {
  margin: 30px 0;
}

.practitioner {
  padding: 20px 50px;
  box-sizing: border-box;
  text-align: center;

}

.static .practitioner {
  float: left;
  width: 33.33%;
}

.practitioner .inner-wrap {
  padding: 20px 20px 30px;
  border: solid 1px #eee;
  border-top: solid 2px #088D8D;
  height: 350px;
  width: 235px;
}

.practitioner h4 {
  font-family: "Panton-Black", sans-serif;
  font-size: 18px;
  margin: 20px 0 0;
  color: #003749;
}

.practitioner .job-type {
  font-family: "Aleo-Bold", serif;
}

.practitioner .qualifications {
  font-family: "Aleo", serif;
  font-size: 12px;
  text-transform: uppercase;
}

.practitioner .practitioner-img {
  border-radius: 10px;
  overflow: hidden;
  min-height: 198px;

}

.practitioner img {
  max-width: 390px;
  max-height: 520px;
  width:100%;
  height:auto;
  cursor: pointer;
}

.team-wrap .practitioner .ins-modal-wrap.show-modal .ins-modal-body {
  height: auto;
  position: relative;
  padding: 20px 65px 30px;
}

.practitioner-modal {
  margin-bottom: 30px;
}

.practitioner-modal .image,
.practitioner-modal .details {
  float: left;
  width: 50%;
  text-align: left;
}


.practitioner-modal .image img {
  max-width: 100%;
  max-height: 220px;
}

.practitioner-modal .details {
  padding-left: 15px;
}

.practitioner-modal h2 {
  text-align: left;
  margin-bottom: 0;
}

.practitioner-modal .sub {
  font-family: "Source-Sans-Pro-Black", sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 12px;
  font-weight: bold;
}

.treatments-wrap {
  background: #232735;
  color: #fff;
  padding: 100px 0;
}

.treatments-wrap h2,
.treatments-wrap h3 {
  color: #fff;
}

.treatments-wrap h2,
.treatments-wrap ul {
  margin-bottom: 80px;
}

.treatments-wrap ul {
  min-height: 100px;
}

.treatments-wrap ul li {
  font-family: "Source-Sans-Pro-Regular", sans-serif;
}

.treatments-wrap ul li a {
  color: #fff;
}

.treatments-wrap ul li a:hover,
.about-wrap .social-link a:hover {
  color: #4EC2C2
}

.dbd .treatments-wrap ul li a:hover,
.dbd .about-wrap .social-link a:hover {
  color: #d4021d
}

.about-wrap {
  padding: 50px 0 100px;
}

.about-wrap .social-link {
  display: inline-block;
  padding: 10px;
  color: #232735;
}

.about-wrap .social-link span {
  font-size: 18px;
  float: left;
  margin-top: 3px;
}

.about-wrap .social-link a {
  font-family: "Source-Sans-Pro-Regular", sans-serif;
  color: #232735;
  margin-left: 10px;
}

#map {
  visibility: hidden;
  height: 1px
}

#mapContainer {
  height: 440px;
  width: 100%;
}

.tablet {
  display: none;
}

.providers-img-content {
  display: flex;
  flex-wrap: wrap;
}

#treatments.no-treatments {
  height: 1px;
  margin-bottom: 20px;
  background: #eee;
}

@media screen and (max-width: 1092px) {
  #branch .button-wraps button {
    display: block;
    margin: 0 0 20px;
    width: 100%;
  }

  #branch .ndc__button.secondary button {
    margin-left: 0;
  }
}

@media screen and (max-width: 1024px) {
  .treatments-wrap {
    padding: 100px 20px
  }

  .ins-modal-wrap.show-modal ins-card {
    width: 80% !important;
    left: calc(50% - 40%) !important;
  }

  .practitioner img {
    width:80%;
    height:80%;
    cursor: pointer;
  }

}

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

  .practitioner img {
    width:85%;
    height:85%;
    cursor: pointer;
  }

  .practitioner .practitioner-img {
    border-radius: 10px;
    overflow: hidden;
    min-height: 140px;

  }

  .practitioner .inner-wrap {
    padding: 20px 20px 30px;
    border: solid 1px #eee;
    border-top: solid 2px #088D8D;
    height: 320px;
    width: 235px;
  }

  .desktop {
    display: none;
  }

  .tablet {
    display: block;
  }

  .banners-wrap {
    padding: 40px;
    box-sizing: border-box;
  }

  .anchors .anchor:first-child,
  .anchors .anchor:nth-child(2) {
    border-bottom: 1px solid rgba(151, 151, 151, 0.5);
  }

  .anchors .anchor:nth-child(2) {
    border-right: none
  }

  .anchors.no-treatments .anchor {
    border-right: none;
  }

  .team-wrap {
    padding: 60px 0 50px;
  }

  .static .practitioner {
    width: 50%;
  }

  .practitioner-modal .image {
    width: 40%;
  }

  .practitioner-modal .details {
    width: 60%;
  }

  .team-wrap .practitioner .ins-modal-wrap.show-modal .ins-modal-body {
    padding: 20px 30px 30px;
  }
}

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

  #team,
  #treatments,
  #about,
  #map {
    display: block;
    position: relative;
    top: -40px;
    visibility: hidden
  }

  #team {
    top: -70px;
  }

  #map {
    top: -106px;
  }

  #treatments.no-treatments {
    position: initial;
    top: initial;
    visibility: visible;
    margin-top: 60px;
    margin-left: -20px;
    margin-right: -20px;
    margin-bottom: 0;
  }
}

@media screen and (max-width: 838px) {
  .anchors .anchor:first-child {
    padding: 22px 0;
  }
  .anchors.no-treatments .anchor:first-child {
    padding: 10px 15px;
  }
}

@media screen and (max-width: 768px) {
  .static .practitioner {
    padding: 20px 30px;
  }

  .practice-details {
    padding-top: 94px;
  }
}

@media screen and (max-width: 639px) {
  .main-wrap {
    padding-top: 40px;
  }

  .practice-details {
    padding: 94px 20px 0;
  }

  .main-wrap,
  .main-wrap h3,
  .practitioner-modal .image,
  .practitioner-modal h2,
  .practitioner-modal .details .sub {
    text-align: center;
  }

  .static .practitioner,
  .practitioner-modal .image,
  .practitioner-modal .details,
  #branch .ndc__button.secondary button {
    width: 100%;
  }

  #branch {
    margin-bottom: 30px;
    text-align: left;
  }

  #branch .payment-plans .row {
    display: block;
  }

  #branch .ndc__button.secondary button {
    margin: 15px 0 30px 0;
  }

  #branch .payment-plans h3 {
    margin-bottom: 20px;
  }

  #branch .payment-plans .afterpay {
    border-right: solid 1px #D3D4D8;
  }

  #branch .payment-plans .afterpay img {
    margin: 20px 0 18px;
    width: 130px;
  }

  #branch .payment-plans .smilefund img {
    margin-top: 4px;
    width: 178px;
  }

  #branch .payment-plans p {
    margin-top: 20px;
  }

  #branch .preferred-providers,
  #branch .payment-plans {
    display: none;
  }

  #branch .preferred-providers p {
    margin-top: 20px;
  }

  #branch .img-wrap img {
    max-width: 180px;
  }

  .anchors.row {
    float: none;
    border: none;
    border-radius: 0;
    width: auto;
  }

  .anchors .anchor:first-child {
    padding: 10px 15px;
  }

  .anchors .anchor,
  .anchors .anchor:first-child,
  .anchors .anchor:nth-child(2) {
    border: 1px solid rgba(151, 151, 151, 0.5);
    border-bottom: none;
  }

  .anchors .anchor:nth-child(2) {
    border-right: 1px solid rgba(151, 151, 151, 0.5);
  }

  .anchors .anchor:first-child {
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
  }

  .anchors .anchor:last-child {
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    border: 1px solid rgba(151, 151, 151, 0.5);
  }

  .banners-wrap {
    padding: 40px 0;
  }

  .team-wrap {
    padding-top: 60px;
    padding-bottom: 40px;
  }

  .main-wrap .desc {
    margin-top: 30px;
    margin-bottom: 40px;
  }

  .team-wrap .practitioner .ins-modal-wrap.show-modal .ins-modal-body {
    padding: 20px;
  }

  .practitioner-modal .details p {
    text-align: left
  }

  .practitioner-modal h2 {
    margin-top: 20px;
  }

  #mapContainer {
    height: 660px;
  }

  .treatments-wrap.main-wrap {
    padding-top: 100px;
    padding-bottom: 40px;
    margin: 0 -20px;
  }

  .about-wrap.main-wrap {
    padding: 80px 0;
  }

  #treatments.no-treatments {
    margin-bottom: 20px;
  }

  /* .dental-providers .ins-carousel_ctrl-btns {
    padding: 10px
  } */
}