/** Start of Custom CSS File for Atlantic Dental Group */

#wpadminbar {
  position: absolute;
  top: 0px;
  width: 100%;
}

iframe[src^="https://www.youtube.com/embed/"] {
  border-radius: 10px;
  overflow: hidden;
}

:root {
  --blue: #243d7f;
  --muted: #efefec;
  --accent: #01d449;
  --white: #fff;
  --header: 81px;
  --pink: rgb(245, 198, 244);
}

.green {
  color: var(--accent);
}

.red {
  color: var(--pink) !important;
}

#free-consultation .uk-select {
  background-color: var(--white);
}

.uk-textarea {
  min-width: 100%;
  max-width: 100%;
}

.logged-in .gtranslate_wrapper {
  display: none;
}

.uk-tile-primary {
  background-image: none;
}

/*! ===== Navbar ====== */

.uk-navbar {
  transition: all .25s ease;
}

.home-header-fixed {
  background: var(--white);
  position: fixed;
  top: 0px;
  width: 100%;
  z-index: 9999;
}

.free-consultation-link>a {
  display: block;
  height: var(--header);
  line-height: var(--header);
  padding: 0px 10px;
  color: var(--white);
  transition: all .25s ease;
  background: var(--accent);
}

.free-consultation-link>a:hover {
  background: var(--blue);
}

.contact-header-phone a {
  padding: 0px 20px;
}

.uk-navbar-item a {
  font-weight: bold;
  text-transform: uppercase;
}


@media (max-width: 1499px) {
  .tm-header .uk-logo {
      max-width: 110px;
  }
  .uk-navbar-nav>li>a, .header-phonem, .free-consultation-link>a {
      font-size: 14px;
  }
}

@media (max-width: 1319px) {
  #custom_html-13 {
    display: block;
    text-align: center;
  }
}

@media (max-width: 1279px) {
  .tm-header .uk-container {
      padding: 0px 0px 0px 20px;
  }
  .tm-header .uk-navbar-right {
      gap: 18px;
  }
}

@media (max-width: 959px) {
  .tm-header-mobile .uk-navbar-transparent .uk-logo {
      filter: brightness(100);
  }
}

@media (max-width: 424px) {
  .tm-header-mobile .uk-navbar-right {
    margin-left: 0px;
    gap: 15px;
  }

  .tm-header-mobile .uk-navbar {
    justify-content: space-between;
  }

  .tm-header-mobile .uk-logo {
    max-width: 120px;
  }

  .tm-header-mobile .uk-navbar-right .phone-link>a {
    font-size: 12px;
  }

  .tm-header-mobile .uk-container {
    padding: 0px 8px;
  }
}

/*! ===== Home ===== */

.home {
  transition: all 1s ease;
}

/** Hero **/

.intro-logo {
  filter: contrast(0) brightness(1000);
}

.offer-expiration .uk-text-small {
  font-size: 12px !important;
  font-style: italic;
}

.intro-wrap {
  transform: rotate(-3deg);
}

.intro-header + div .dentalimplantpricing {
  text-shadow: 10px 10px 5px #00000026;
}

@media (min-width: 640px) {
  .landing-price>div {
    display: flex;
    justify-content: center;
  }

  .landing-price>div>div {
    width: max-content !important;
    flex-grow: unset !important;
    flex: unset;
    text-align: center;
    padding: 0px;
  }

  .landing-price>div>div .uk-panel {
    display: block !important;
  }
}

@media (max-width: 639px) {
  .home-hero .home-intro .el-title {
    font-size: 26px;
  }

  .home-hero .home-intro .uk-heading-medium {
      font-size: 36px !important;
  }

  .service-contact-form .el-title {
      font-size: 20px;
  }

  .home-hero {
    padding-top: 120px;
    padding-bottom: 120px;
  }
}

@media (max-width: 1599px) {
  .landing-price>div>div {
    margin-top: 10px !important;
  }

  .cost-hero .uk-width-small {
    width: unset;
    text-align: center;
  }
}

/** The Solution **/

.implant-solution {
  position: absolute;
  top: -50%;
}

/** 25 Years of Success **/

.section_about {
  max-width: 1920px;
  margin: 0 auto;
}

.implant-success-buttons>div {
  display: block;
}

/** Meet the Dentists (inactive don't touch) **/

.dentists-panel {
  position: relative;
}

.dentists-panel li:not(.uk-active) {
  opacity: 0;
}

.dentists-panel li.uk-active,
.dentists-panel .el-nav li {
  opacity: 1;
}

.dentists-panel .uk-transition .uk-active .el-image,
.dentists-panel .uk-transition .uk-active .el-title,
.dentists-panel .uk-transition .uk-active .el-content,
.dentists-panel .uk-transition .uk-active .el-content+.uk-margin-top {
  animation-name: bioOut;
  animation-duration: .1s;
  animation-iteration-count: 1;
}

.dentists-panel li.uk-active .el-image,
.dentists-panel li.uk-active .el-title,
.dentists-panel li.uk-active .el-content,
.dentists-panel li.uk-active .el-content+.uk-margin-top {
  transition: all .25s ease;
  animation-duration: .5s;
  animation-iteration-count: 1;
  opacity: 1 !important;
}

.dentists-panel .uk-transition .uk-active {
  transition: all .25s ease;
  opacity: 0;
}

.dentists-panel li.uk-active .el-image {
  animation-name: bioDentist;
}

.dentists-panel li.uk-active .el-title {
  animation-name: bioName;
}

.dentists-panel li.uk-active .el-content {
  animation-name: bioText;
}

.dentists-panel li.uk-active .el-content+.uk-margin-top {
  animation-name: bioDentist;
  animation-duration: .75s;
}

.dentists-panel .el-nav {
  position: absolute;
  left: 50%;
  bottom: 10px;
}


@keyframes bioDentist {
  0% {
    transform: translateY(100vh);
    opacity: 0;
  }

  1% {
    opacity: 1;
    transform: translateY(100vh);
  }

  100% {
    transform: translateY(0);
  }
}

@keyframes bioName {
  from {
    transform: scale(0);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes bioText {
  from {
    transform: translateX(100vw);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes bioOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

/** Meet the Dentists (active) **/

.dentists-divider {
  border-top: 7px solid var(--white) !important;
}

.dentists-portraits .el-item {
  position: relative;
}

.dentists-portraits .el-item>.el-image {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

@media (min-width: 960px) {

  .meet-the-dentists {
    --headshot-cut: 200px;
    background: linear-gradient(to bottom, var(--white) var(--headshot-cut), var(--blue) var(--headshot-cut));
  }

  .dentist-info .el-image {
    display: none;
  }

  .dentist-info .el-image+.el-title {
    margin-top: 0;
  }

}

/** Top Reasons to Choose Us **/

.top-reasons .el-title {
  font-weight: bold;
  color: var(--blue);
}


/** Success Stories **/

.home-testimonials .el-title {
  font-weight: bold;
}

.five-stars polygon {
  fill: gold;
  stroke-width: 0;
}

@media (max-width: 639px) {
  .five-stars>div {
    justify-content: center;
  }
}

/** Schedule A Consultation **/

#free-consultation {
  min-height: unset !important;
}

.uk-section-default .uk-background-cover .uk-input,
.uk-section-default .uk-background-cover .uk-textarea,
.uk-section-muted .uk-input,
.uk-section-muted .uk-textarea {
  background: var(--white);
}

#free-consultation .uk-textarea {
  min-height: 238px;
  max-height: 238px;
}

.uk-section-primary .uk-input,
.uk-section-primary .uk-select,
.uk-section-primary .uk-textarea {
  background-color: var(--white) !important;
  color: #000 !important;
}

.leaflet-bottom.leaflet-right {
  display: none;
}

.uk-select {
  border-radius: 10px;
}

/* @media (min-width: 960px) {
  #free-consultation {
    min-height: 580px !important;
  }
} */

/*! ===== Footer ===== */

.hours .uk-width-small {
  width: 110px;
}

.footer-contact .uk-flex-middle {
  align-items: start;
}

.footer-nav * {
  font-size: 14px !important;
}

.socials .uk-first-column~div {
  padding-left: 2px;
}

.socials .uk-icon-button {
  border-radius: 10px;
  color: var(--white);
  border-color: var(--white);
}

.socials>div>div:nth-child(1) .uk-icon-button {
  background: #3d5a95;
}

.socials>div>div:nth-child(2) .uk-icon-button {
  background: #1a8cd8;
}

.socials>div>div:nth-child(3) .uk-icon-button {
  background: #c61f26;
}

.socials>div>div:nth-child(4) .uk-icon-button {
  background: linear-gradient(45deg, #e85448 25%, #fabd02 25% 50%, #33ab54 50% 75%, #4385f5 75% 100%)
}

.socials>div>div:nth-child(5) .uk-icon-button {
  background: #ff0205;
}

@media (max-width: 639px) {
  .footer-contact {
    max-width: max-content;
    margin: 0 auto !important;
  }

  .footer-nav>.uk-flex-left\@s {
    justify-content: center;
  }
}

/*! ===== Blog ===== */

.atlantic-post-wrapper {
  opacity: 1;
  transition: all .25s ease;
}


.atlantic-post-content > * + * { 
  margin-top: 40px;
}

.atlantic-video+* {
  margin-top: 0px;
}

.atlantic-post-content a {
  text-decoration: underline;
  text-decoration-style: dotted;
}

.category-single-post:hover .category-post-title {
  color: var(--blue) !important;
}

.atlantic-post-tags>*,
a.comment-edit-link {
  font-size: 14px;
  border: 2px solid var(--blue);
  padding: 5px 10px;
  display: inline-block;
  margin-bottom: 5px;
}

.atlantic-post-tags>*:not(:last-child) {
  margin-right: 5px;
}

.atlantic-post-tags>*:hover,
.atlantic-post-tags>*:focus,
a.comment-edit-link:hover,
a.comment-edit-link:focus {
  background: var(--blue);
  color: #fff;
  text-decoration: none;
  border-color: var(--blue);
}

#cancel-comment-reply-link {
  margin-left: 10px;
}

h3#reply-title {
  color: var(--blue);
  font-weight: bold;
  text-transform: capitalize;
}

.atlantic-post-comments .el-title {
  font-weight: bold;
}

.atlantic-post-comments .el-title::before {
  border-width: 5px;
}

a.comment-edit-link {
  padding: 5px 20px;
}

.uk-comment-list .uk-comment~ul {
  margin-top: 0px;
}

@media (max-width: 639px) {
  .food-image {
    margin-bottom: 20px;
  }

  .atlantic-post-content .uk-card-badge {
    right: unset;
    left: 15px;
  }
}

/*! ===== Our Dentists ===== */

.dentists-switcher {
  opacity: 0;
  transition: all .25s ease;
}

.dentists-switcher .uk-thumbnav li {
  text-align: center;
}

.dentists-switcher .uk-thumbnav img {
  border-radius: 10px;
  transition: all .25s ease;
}

.dentists-switcher .uk-thumbnav li a:hover img {
  transform: scale(1.05);
}

.dentists-switcher .el-title {
  font-weight: bold;
}

.uk-thumbnav li a {
  background: var(--blue);
  border-radius: 10px;
  overflow: hidden;
}

.uk-thumbnav li.uk-active a {
  background: var(--accent);
}

.cv-panel>div {
  border-radius: 10px;
}

.dentists-switcher .uk-width-small\@l.uk-first-column::before {
  content: 'Click to Switch Dentist Profiles';
  font-size: 14px;
  font-weight: bold;
  color: var(--blue);
  text-align: center;
  width: 100%;
  display: block;
  margin-bottom: 15px;
}

@media (max-width: 1199px) {
  .dentists-switcher .uk-thumbnav {
    justify-content: center;
  }

  .dentist-image,
  .dentist-pic-wrap {
    display: none;
  }
}

/*! ===== Dental Implants ===== */

.service-contact-form .el-title {
  font-weight: bold;
  color: var(--white);
  font-size: 36px;
}

.service-contact-form {
  /* background: linear-gradient(31deg, var(--blue), #7bceff); */
  background: linear-gradient(0deg, #396eed, var(--blue));
  z-index: 3;
}

.service-contact-form .uk-form-label {
  color: #fff !important;
  font-weight: bold;
  font-size: 18px;
}

.service-contact-form .uk-textarea {
  min-height: 120px !important;
}

.dental-implant-parts .el-title {
  font-weight: bold;
  transition: all .25s ease;
}

.dental-implant-parts:hover .el-item:not(:hover) .el-title {
  opacity: 0;
}

.dental-implant-parts .el-item>img {
  border-radius: 100%;
  background-color: var(--blue);
  padding: 20px;
  cursor: pointer;
  transition: all .25s ease;
}

.complete-implant-parts .el-item {
  border-radius: 100%;
  padding: 20px;
}

.dental-implant-parts .el-item:hover>img {
  background-color: var(--accent);
  transform: scale(1.04);
}

.dental-implant-reviews .el-title {
  font-weight: bold;
}

.dental-implant-reviews .el-item {
  padding: 20px 20px;
  background: var(--white);
  border-radius: 10px;
}

.testimonial-wrapper {
  position: relative;
  top: 50%;
  transform: translateY(-50%);
}

.dental-implant-reviews .el-content {
  max-height: 120px;
  overflow: hidden;
}

.dental-implant-result .hd-image-comparison {
  border-radius: 10px;
  overflow: hidden;
}

.implant-hover-before-after .el-item::before {
  content: 'Before';
  position: absolute;
  bottom: 0px;
  left: 0px;
  min-width: 100px;
  width: max-content;
  background: var(--blue);
  z-index: 3;
  padding: 10px 20px;
  color: var(--white);
  transition: all .5s ease;
}

.implant-hover-before-after:hover .el-item::before {
  content: 'After';
  left: calc(100% - 140px);
  background: var(--accent);
}

.benefits-grid .el-title {
  font-weight: bold;
}

.implant-hover-before-after>div>div::after {
  content: 'Hover over to see the result!';
  display: block;
  transition: all .25s ease;
  margin-top: 0px;
}

.implant-hover-before-after:hover>div>div::after {
  opacity: 0;
}

@media (max-width: 1199px) {
  .service-contact-form {
    position: unset !important;
    top: unset !important;
    left: unset !important;
  }

  .service-header>div {
    padding-top: 40px;
    padding-bottom: 40px;
  }
}

.home-hero .service-contact-form {
  background: var(--blue);
}

.uk-card#free-consultation .uk-grid > div:nth-child(odd),
.uk-card#free-consultation .uk-grid > div.uk-width-1-1  {
  padding-left: 0px;
}

@media (max-width: 959px) {
  .uk-card#free-consultation .uk-grid > div.uk-width-1-3\@m,
  .uk-card#free-consultation .uk-grid > div.uk-width-1-2\@m {
    padding-left: 0px;
  }
}
@media (max-width: 639px) {
  .uk-card#free-consultation .uk-grid > div.uk-width-1-2\@s,
  .uk-card#free-consultation .uk-grid > div.uk-width-1-1 {
    padding-left: 0px;
  }
}

/*! ==== All on Four ==== */

.benefits-grid .uk-tile-muted {
  border-radius: 10px;
  overflow: hidden;
}

.ao4-faq.uk-accordion .uk-accordion-title {
  border: 2px solid #000;
  padding: 20px;
  border-radius: 10px;
  color: #fff;
  font-size: 22px;
  font-weight: bold;
  transition: all .25s ease;
}

.ao4-faq .uk-accordion-title::before {
  filter: brightness(0);
}

.ao4-faq.uk-accordion .uk-accordion-title:hover {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

.ao4-faq.uk-accordion .uk-open .uk-accordion-title {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.ao4-faq.uk-accordion .uk-open .uk-accordion-title::before,
.ao4-faq.uk-accordion .uk-accordion-title:hover::before {
  filter: brightness(10);
}

@media(min-width: 1200px) {
  .all-on-4-video {
    position: relative;
    top: -150px;
  }

  .section_ao4-video {
    padding-bottom: 0px;
  }
}

/*! ===== Contact ===== */

.contact-panel .el-title {
  font-weight: bold;
}

.contact-us-form .uk-textarea {
  min-height: 150px;
}

/*! ===== FAQ ===== */

.uk-accordion-title {
  display: block;
  font-size: 24px;
  line-height: 1.4;
  color: #fff;
  overflow: hidden;
  padding: 20px 20px;
  font-weight: 700;
  background: var(--blue);
}

.uk-accordion-title::before {
  filter: grayscale(1) brightness(30);
}

.uk-accordion-title:hover {
  background: #4f4f4f;
  color: #fff;
}

.el-item.uk-open+.el-item {
  margin-top: 20px;
}

/*! ===== General Dentistry ===== */

#treatment-scaling {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

#treatment-scaling::after {
  content: 'Scaling & Polishing';
  background: var(--blue);
  color: #fff;
  position: absolute;
  bottom: 0px;
  left: 0px;
  width: calc(100% - 30px);
  padding: 15px;
  font-size: 24px;
  line-height: 1.4;
}

.google-review-rating .uk-icon {
  position: relative;
  top: -2px;
}

.google-review-rating .uk-icon  [stroke*="#"]:not(.uk-preserve) {
  --gold: #ffa200;
  stroke: var(--gold);
  fill: var(--gold);
}


@media (max-width: 639px) {
  #treatment-scaling::after {
    text-align: center;
  }
}

/*! ===== Dental Implant Costs ===== */

.page-id-2035 .uk-section-primary,
.page-id-2035 .free-consultation-link>a {
    background: linear-gradient(31deg, var(--blue), #2170ff);
}

.page-id-2035 .uk-text-warning, .page-id-2035 .category-single-post .category-post-title:hover {
    color: var(--blue) !important;
}

.page-id-2035 .uk-text-success {
    color: #ff6a6a !important;
}

.page-id-2035 .implant-hover-before-after .el-item::before,
.page-id-2035 .dental-implant-parts .el-item>img,
.page-id-2035 .uk-accordion-title {
  background: linear-gradient(31deg, var(--blue), #043783);
}

.page-id-2035 .implant-hover-before-after .el-item::before {
    color: #000;
    font-weight: bold;
}

.page-id-2035 .uk-accordion-title {
  background-size: 140%;
}

.page-id-2035 .uk-accordion-title:hover {
  color: #fff;
}

/*! ===== Landing Pages ===== */

.single-lp .tm-header, .single-lp .tm-header-mobile, .single-lp footer {
  display: none;
}

.single-lp .grecaptcha-badge {
  display: none !important;
  z-index: -90000 !important;
}


@media (max-width: 1199px) {
  .intro-header { 
    font-size: 36px;
  }
}

@media (max-width: 959px) {
  #languageSelector > div + div {
    margin-top: 15px;
  }
}

@media (max-width: 767px) {
  .intro-header { 
    font-size: 28px;
  }
  .service-contact-form .el-title {
    font-size: 24px;
  }
}