/*
  Theme Name: J Cha Cosmetic Dental
  Description: Custom Theme for Dr. Jerome Cha
  Author: Infinity Dental Web
  Author URI: https://www.infinitydentalweb.com
  Version: 2.0
 	License: GPL-2.0+
	License URI: http://www.opensource.org/licenses/gpl-license.php
*/

:root {
	--primary-color: #003399;
  --secondary-color: #0f6a24;
  --text-color:#222;
  --body-font:'Roboto', sans-serif;
  --heading-font:'Roboto', sans-serif;
}

body {
    background-color:#fff;
    color:var(--text-color);
	  font-size:1.6rem;
    line-height: 3.1rem;
    font-family:var(--body-font);
}

section {
	line-height: 1;
  position: relative;
}

h1, h2, h3, h4, h5, p, ul {
	margin-top: 0;
  font-family:var(--heading-font);
}

p {
	line-height: 3.1rem;
	margin: 0 0 3.1rem;
}

figcaption{
  text-align: center;
  line-height: 1.4;
    font-size: 1.4rem;
    opacity: .8;
}



/*
* Base CSS for Search Functionality
* Last Update: 2022-11-11
*/


/* Search icon - color and position as needed */
.search-icon {
  display: block;
  position: absolute;
  right: 45px;
  top: 60px;
  transform:translateY(-50%);
  z-index: 2;
  transition:.4s ease-in all;
}

.stuck .search-icon {}

.search-icon {
  color:#222;
  cursor: pointer;
}

.search-icon i {
  font-size:22px;
}

.search-icon svg {
  width:50px!important;
  height:50px;
}


/* Search overlay - color as needed */
.search-overlay {
  position:fixed;
  top: 0;
  bottom:0;
  left:0;
  right:0;
  z-index: 9999999999990;
  background: rgba(255,255,255,.9);
  width:100%;
  height:0;
  display:flex;
  overflow: hidden;
  justify-content: center;
  align-items: center;
  transition:.4s ease-in all;
  opacity: 0;
  
}

.search-overlay.active {
  height:100%;
  opacity:1;
}

.search-close {
  position: absolute;
  right:3.3rem;
  top:5.2rem;
  color:#222;
  font-size:36px;
  font-weight:bold;
  cursor: pointer;
}


/* Search overlay form - color as needed */
.search-overlay > form {
  display:flex;
  width:100%;
  max-width:640px;
  justify-content: space-between;
  align-items: stretch;
}

.search-overlay > form > input {
  width:100%;
  background:transparent;
  border:none;
  border-bottom:1px solid #222;
  font-size:24px;
  color:#222;
  padding:20px;
}

.search-overlay > form > button {
  width:200px;
  margin-left:20px;
  font-size:20px;
  font-weight:700;
  letter-spacing:2px;
  text-transform: uppercase;
  background:#222;
  color:#fff;
  border:none;
  border-radius:6px;
  cursor: pointer;
}

.search-overlay > form > button:hover {
  background:#fff;
  color:#222;
}


/* Mobile search form - style and color as needed */
.mobile-search-form {
  display:flex;
  width:100%;
  max-width:100%;
  justify-content: space-between;
  align-items: stretch;
}

.mobile-search-form > input {
  width:100%;
  background:rgba(255,255,255,.2);
  border:1px solid #eee;
  font-size:18px;
  color:#fff;
  padding:8px;
  font-weight:400;
}

.mobile-search-form > button {
  width:120px;
  margin-left:20px;
  font-size:18px;
  font-weight:400;
  letter-spacing:2px;
  text-transform: uppercase;
  color:#fff;
  border:none;
  border-radius:3px;
  cursor: pointer;
}

::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: var(--text-color);
  opacity: .7; /* Firefox */
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
  color: var(--text-color);
  opacity: .7;
}

::-ms-input-placeholder { /* Microsoft Edge */
  color: var(--text-color);
  opacity: .7;
}

.icon-color {
  fill:var(--text-color);
  opacity: .5;
}


/*------------------------- Custom styles ----------------------------------*/

/* Header */

header {
  position: absolute;
  top: 0;
  z-index: 2;
  max-width: 1940px;
  margin: 0 auto;
  color: #f5f5f5;
}
.nav-container {
  display: block;
  position: relative;
  height: 100%;
}
.header-phone {
  position: absolute;
  left: 7.2rem;
  top: 2.5rem;
  width: 50%;
  font-size: 16px;
  line-height: 1.33;
  letter-spacing: .36px;
  color: #1a1a1a;
  font-family: 'Roboto';
}
.phone-number a {
  position: relative;
  z-index: 99;
  text-decoration: none;
  color: inherit;
  left: 6rem;
}
.phone-number img {
  position: absolute;

}
.header-wrap {
  display: flex;
  position: absolute;
  right: 9.2rem;
  top: 3rem;
  width: 50%;
  column-gap: 1.52rem;
  justify-content: flex-end;
  z-index: 2;
  font-size: 16px;
  line-height: 1.33;
  letter-spacing: .36px;
  color: #1a1a1a;
  font-family: 'Roboto';
}
header .logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 2rem;
  z-index: 1;
}
.nav-primary {
  top: 7.5rem;
  width: 100%;
  position: absolute;
  left: 0;
  right: 0;
  z-index: 2;
}
.nav-primary .menu-main-menu-container {
  position: absolute;
  width: calc(50% - 280px);
  margin: 1rem 0 0 7.5rem;
  border-top: 1px solid rgba(55, 70, 85, 0.7);
  border-bottom: 1px solid rgba(55, 70, 85, 0.7);
}
.nav-primary .menu-main-menu-right-container {
  position: absolute;
  width: calc(50% - 285px);
  text-align: left;
  right: 0;
  margin: 1rem 9.1rem 0 0;
  border-top: 1px solid rgba(55, 70, 85, 0.7);
  border-bottom: 1px solid rgba(55, 70, 85, 0.7);
}
.nav-primary #menu-main-menu > li > a {
  color: #232323!important;
}
.nav-primary #menu-main-menu > li > a:hover {
  background:rgba(0, 0, 0, 0.06);
}
.nav-primary li > a:hover {
  background:rgba(0, 0, 0, 0.06);
}
.sub-menu {
  width: 220px;
}
.nav-primary .sub-menu li>a {
  font-size: 1.2rem;
  padding: 2rem 1.4rem 2rem 1.8rem;
  width: 100%;
}
.current-menu-item {
  border: none!important;
}
#menu-main-menu {
  justify-content: flex-end;
  padding-right: 4rem;
  margin-bottom: 0;
  gap: 3rem;
}
#menu-main-menu-right {
  justify-content: flex-start;
  padding-left: 4.5rem;
  margin-bottom: 0;
  gap: 3rem;
}
.menu li {
  font-size: 14px;
  letter-spacing: 2.8px;
  font-family: 'Montserrat';
  text-transform: uppercase;
}
.nav-primary li > a {
  color: #1a1a1a;
  font-size: 1.2rem;
  letter-spacing: 2.4px;
  line-height: 1.3;
  text-transform: uppercase;
  font-weight: 600;
  padding: 2rem 0;
  display: inline-block;
}
.hero .small-heading {
  font-size: 11px;
  letter-spacing: 2.2px;
  color: #1a1a1a;
  font-family: 'Montserrat';
  font-weight: 600;
  text-transform: uppercase;
}
.hero .small-heading span {
  font-size: clamp(2.5rem, 8.333vw + 0rem, 5rem);
  letter-spacing: 1.12px;
  color: #1a1a1a;
  font-family: 'Roboto';
  font-weight: 300;
  line-height: 1.26;
  text-transform: capitalize;
}
.beauty-container .small-heading {
  display: flex;
  gap: 7px;
}
.beauty-container .large-heading {
  text-align: center;
}
.small-heading h1 {
  font-size: 11px;
  letter-spacing: 2.2px;
  color: #1a1a1a;
  font-family: 'Montserrat';
  font-weight: 600;
  text-transform: uppercase;
}
.hero h1 {
  font-size: 11px;
  letter-spacing: 2.2px;
  color: #1a1a1a;
  font-family: 'Montserrat';
  font-weight: 600;
  text-transform: uppercase;
  line-height: 3;
}
.hero h1 span {
  font-size: 5rem;
  letter-spacing: 1.12px;
  color: #1a1a1a;
  font-family: 'Roboto';
  font-weight: 300;
  line-height: 1.26;
  text-transform: capitalize;
}
.hero-container {
  position: absolute;
  top: 55%;
  left: 30%;
  transform: translate(-48%, -50%);
}
.hero-card {
  position: relative;
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
}
.larger-heading {
  font-size: 5.6rem;
  letter-spacing: 1.12px;
  text-align: left;
  color: #1a1a1a;
  font-weight: 300;
  font-family: 'Roboto';
}
.hero-card .larger-heading {
  margin-bottom: 1.5rem;
}
.hero-container p {
  font-size: 1.6rem;
  letter-spacing: .3px;
  margin-top: 0;
  color: #1a1a1a;
  font-family: 'Roboto';
  font-weight: 600;
}
.hero-container p.larger {
  margin-bottom: 6px;
}
.hero-container p.smaller {
  font-weight: 400;
  font-size: 1.6rem;
  line-height: 2rem;
}
.hero-card .button-container {
  left: 4px;
  width: 314px;
}
.button {
  display: inline-block;
  font-size: 11px;
  color: #fff;
  background-color: #374755;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  padding: 3rem 4rem;
  max-width: 319px;
  border-right: 1px solid #374755;
  border-bottom: 1px solid #374755;
  font-family: 'Montserrat';
}
.button:hover {
  transform: translate(5px, 3px);
  transition: transform 120ms ease-in;
}
.hero-card .button {
  position: relative;
  left: -6px;
  top: -.4rem;
  padding: 2.7rem 5rem;
}

/* Beauty Gallery */

.beauty-gallery {
  background-image: url('./images/beauty-gallery-background.webp');
  background-size: cover;
  padding: 5rem;
  margin: 2.5rem;
}
.frame {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}
.beauty-container {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}
.large-heading {
  font-size: 3.2rem;
  letter-spacing: .64px;
  color: #1a1a1a;
  font-family: 'Roboto';
}
.large-heading span {
  font-weight: 600;
}
.small-heading {
  font-size: 11px;
  letter-spacing: 2.2px;
  color: #1a1a1a;
  font-family: 'Montserrat';
  font-weight: 600;
  text-transform: uppercase;
}
.beauty-inner-container {
  display: flex;
  justify-content: center;
}
.left-side, .right-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  margin-top: 5.9rem;
}
.left-side a, .right-side a {
  text-transform: uppercase;
  color: inherit;
  font-size: 1.5rem;
  font-family: 'Roboto';
  text-decoration: none;
}
.left-side a:hover, .right-side a:hover {
  color: #6b6b6b;
}
.left-side img, .right-side img {
  max-width: 520px;
  max-height: 343px;
}
.left-side p, .right-side p {
  font-size: 15px;
  letter-spacing: .3px;
  color: #1a1a1a;
  font-family: 'Roboto';
  text-align: left;
}
.split {
  width: auto;
  height: auto;
}
.beauty-container .button-container {
  width: 238px;
  height: 65px;
  left: 0;
  top: 2rem;
}
.beauty-container .button {
  position: relative;
  top: -5px;
  right: 6px;
  padding: 2.5rem 5rem;
}
.vert-wrap {
  position: absolute;
  top: 50%;
  /* left: 50%; */
  right: 225px;
  transform: translate(-50%, -50%);
  z-index: 3;
}
.vertical-section {
  position: absolute;
  transform: rotate(-90deg);
  text-wrap: nowrap;
  font-size: 11px;
  letter-spacing: 2.2px;
  color: #1a1a1a;
  text-transform: uppercase;
  font-weight: 600;
  font-family: 'Montserrat';
}
.popup-overlay {
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: rgba(38, 55, 73, 0.9);
  top: 0;
  left: 0;
  z-index: 99991;
  display: none;
  overflow-x: hidden;
  overflow-y: hidden;
}
.popup-overlay-vasser {
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: rgba(38, 55, 73, 0.9);
  top: 0;
  left: 0;
  z-index: 99991;
  display: none;
  overflow-x: hidden;
  overflow-y: hidden;
}
.popup-overlay.show {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  text-align: center;
}
.popup-overlay-vasser.show {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  text-align: center;
}
.overlay-inner {
  position: relative;
  background-color: #ededed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 99992;
  gap: 1.5rem;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 4rem;
  margin: 0 !important;
  overflow-y: scroll;
  width: 100%;
  max-width: 796px;
  overflow: auto;
}
.overlay-inner-vasser {
  position: relative;
  background-color: #ededed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 99992;
  gap: 1.5rem;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 4rem;
  margin: 0 !important;
  overflow-y: scroll;
  width: 100%;
  max-width: 796px;
  overflow: auto;
}
.overlay-inner-vasser.show {
  position: relative;
  background-color: #ededed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 99992;
  gap: 1.5rem;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 4rem;
  margin: 0 !important;
  overflow-y: scroll;
  width: 100%;
  max-width: 796px;
  overflow: auto;
  display: flex;
}
.overlay-inner.show {
  position: relative;
  background-color: #ededed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 99992;
  gap: 1.5rem;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 4rem;
  margin: 0 !important;
  overflow-y: scroll;
  width: 100%;
  max-width: 796px;
  overflow: auto;
  display: flex;
}
.popup-close {
  position: relative;
  left: 48%;
}.popup-close-vasser {
  position: relative;
  left: 48%;
}



/* Meet the Doctor */

.doctor-container {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  /* right: 5%;
  transform: translate(-50%, -50%); */
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  width: 100%;
  max-width: 1920px;
  padding: 0 60px;
  margin: 0 auto;
}
.doctor-card {
  position: relative;
  width: 100%;
  max-width: 50%;
  display: flex;
  flex-direction: column;
  color: #232323;
}
.doctor-card .large-heading {
  margin-top: 2rem;
  font-size: 3.8rem;
  letter-spacing: .76px;
  line-height: 1.26;
  font-weight: 200;
  font-family: 'Roboto';
}
.doctor-card p {
  margin: 2rem 0 1rem;
  font-size: 15px;
  letter-spacing: .3px;
  line-height: 2.13;
  font-weight: 500;
  font-family: 'Roboto';
  color: #1a1a1a;
}
.doctor-card ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 15px;
  letter-spacing: .3px;
  line-height: 20px;
  font-family: 'Roboto', Regular;
}

.credentials {
  display: flex;
  justify-content: flex-start;
  border-top: 1px solid #232323;
  max-width: 680px;
  align-items: center;
}
.credentials .button-container {
  left:0;
  top:0;
  height: auto;
  width: auto;
  border: none;
}
.credentials-left {
  border-right: 1px solid #232323;
  width: 50%;
}
.credentials .button.light {
  left:0;
  top:0;
  position: static;
  width: 100%;
}
.credentials .button.light::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  border-bottom: 1px solid #374755;
  border-right: 1px solid #374755;
  top: 6px;
  left: 6px;
}
.credentials-left, .credentials-right {
  display: flex;
  padding-top: 2rem;
  justify-content: center;
  align-items: center;
  width: 50%;
}
.credentials-left img:nth-child(1) {
  width: 102px;
  height: 54px;
  position: relative;
  left: 0;
  bottom: 3px;
}
.credentials-left img:nth-child(2) {
  width: 132px;
  height: 39px;
  position: relative;
  top: 5px;
  left: 7px;
}
.icoi-logo {
  width: 70px;
  height: 67px;
  /* position: relative;
  left: 1rem;
  bottom: 8px; */
}
.credentials-right {
  justify-self: center;
}
.credentials-right p {
  margin: 0;
  font-size: 13px;
  line-height: 1.54;
  letter-spacing: .26px;
  font-family: 'Roboto';
}
.doctor-buttons {
  display: flex;
  gap: 1.8rem;
  width: 85%;
}
.button-container {
  position: relative;
  display: block;
  width: 260px;
  height: 70px;
  border-right: 1px solid #374755;
  border-bottom: 1px solid #374655;
  left: -20px;
  top: 0rem;
}
.button.light {
  top: 1.5rem;
  width: 263px;
  display: block;
  position: absolute;
  left: -12px;
  top: -10px;
}
.icoi {
  position: absolute;
  bottom: 5%;
  left: 5%;
}

/* Testimonials */

.testimonials {
  background-image: url('./images/beauty-gallery-background.webp');
  background-size: cover;
  padding: 5rem;
  margin: 2.5rem;
  max-height: 940px;
}
.testimonials-container {
  position: absolute;
  left: 50%;
  top: 40%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}
.testimonials-container .dec {
  display: none;
}
.testimonials .vert-wrap {
  right: 246px;
}
.stars-middle {
  display: flex;
  gap: 3rem;
}
.stars-middle .split {
  margin-top: 2rem;
}
.stars {
  width: 98px;
  height: 14px;
  position: relative;
  top: 5.8rem;
}
.testimonials-slider {
  position: absolute;
  bottom: 31rem;
  left: 0;
}
.reviews {
  position: relative;
  bottom: 19rem;
}
.testimonials .slider-control {
  position: relative;
  bottom: 16rem;
  margin-top: 0;
}
.testimonials .item {
  font-size: 2.4rem;
  line-height: 42px;
  letter-spacing: .48px;
  font-weight: 300;
  font-family: 'Roboto';
}
.author {
  font-size: 15px;
  font-weight: 600;
}

/* .item.right {
  text-align: right;
  justify-content: flex-end;
}
.item.left {
  text-align: left;
  justify-content: flex-start;
} */
/* .testimonials-slider .owl-stage {
  justify-content: center;
  gap: 13rem;
}
.testimonials-slider .owl-stage .owl-item:nth-child(3) {
  justify-content: flex-end;
}
.testimonials-slider .owl-stage .owl-item:nth-child(4) {
  justify-content: flex-start;
}
.testimonials-slider .owl-stage .owl-item:nth-child(3) .item {
  text-align: right;
}
.testimonials-slider .owl-stage .owl-item:nth-child(4) .item {
  text-align: left;
}
.testimonials-slider .owl-stage .active-slide {
  justify-content: flex-end!important;
}
.testimonials-slider .owl-stage .active-slide .item {
  text-align: right!important;
} */
.testimonials-slider .owl-stage .owl-item .active:nth-child(1) {
  justify-content: flex-end!important;
}
.testimonials-slider .owl-stage .owl-item:nth-child(3) {
  justify-content: flex-end!important;
}
.testimonials-slider .owl-stage .owl-item:nth-child(3) .item {
  text-align: right;
}
.testimonials-slider .owl-stage .owl-item:nth-child(4) {
  justify-content: flex-end;
}
.testimonials-slider .owl-stage .owl-item:nth-child(5) {
  justify-content: flex-start;
}
.testimonials-slider .owl-stage .owl-item:nth-child(5) .item {
  text-align: left;
}
.testimonials-slider .owl-stage .owl-item:nth-child(4) .item {
  text-align: right;
  /* padding-left: 3.3rem; */
}
.testimonials-slider .owl-stage .owl-item:nth-child(8) {
  justify-content: flex-start;
}
.testimonials-slider .owl-stage .owl-item:nth-child(8) .item {
  text-align: left;
}
.testimonials-slider .owl-stage .owl-item.active.active-slide {
  justify-content: flex-end!important;
}
.testimonials-slider .owl-stage .owl-item.active.active-slide .item {
  text-align: right;
 
}
/* .testimonials-slider .owl-stage .active:nth-child(2) {
  justify-content: flex-start!important;
} */


.reviews {
  display: flex;
  justify-content: flex-end;
  max-width: 60%;
  margin: 0 auto;
  border-top: 1px solid rgba(55, 70, 85, 0.2);
}
.reviews .icon {
  height: 16px;
  width: 16px;
  filter: brightness(0) saturate(100%) invert(24%) sepia(29%) saturate(507%) hue-rotate(168deg) brightness(89%) contrast(86%);
}

/* .reviews .icon.i-instagram {
  height: 20px;
  width: 20px;
} */
.reviews .icon:before {
  content: "";
  position: absolute;
  /* bottom: -9px;
  left: -9px; */
  width: 35px;
  height: 35px;
  border-radius: 50%;
  border: 1px solid rgba(55, 70, 85, 0.2);
}
/* .reviews .icon.i-instagram:before {
  bottom: -8px;
  left: -8px;
} */
.reviews-text {
  display: flex;
  gap: 1rem;
  width: 60%;
  margin-top: 1.6rem;
}
.reviews-text p {
  font-size: 15px;
  letter-spacing: .3px;
  font-family: 'Roboto';
  line-height: 1.1rem;
}
.reviews-text a {
  font-size: 15px;
  color: #1a1a1a;
}
.reviews-text a:visited {
  color: #1a1a1a;
}
.reviews-text img {
  height: 10px;
  width: 70px;
}
.reviews-icons {
  display: flex;
  position: relative;
  top: 2rem;
  right: 1rem;
  gap: 2.5rem;
}

/* Services */

/* .services-container {
  position: relative;
} */
.services picture::after {
  position: absolute;
  z-index: 1;
  width: 100%;
  height: 100%;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 30%, rgba(4, 5, 6, 0), rgba(24, 29, 36, 0.3) 125%);
  content: "";
}
.services .abs {
  display: block;
}
.abs {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  opacity: 0;
  transition: 0.5s ease all;
}
.abs.show {
  opacity: 1;
}
.services .item, .services .owl-stage-outer, .services .owl-stage {
  height: 100%;
}
.service-slider {
  display: flex!important;
  width: 100%!important;
  position: absolute!important;
  top: 0!important;
  height:100%!important;
  z-index: 3!important;
}
.services .item {
  display: flex;
  justify-content: flex-end;
  flex-direction: column;
  padding: 0 6rem 5rem;
  max-width: 25%;
  width: 100%;
  border-left: 1px solid rgba(255, 255, 255, .4);
  border-bottom: 1px solid #fff;
}
.services .item p {
  margin-top:2rem;
}
.services .item.focused p, .services .item:hover p  {
  display: block;
}
.services .item:hover, .services .item.focused {
  background-color: rgba(38, 55, 73, 0.85);
  color: #000;
}
.services .item:hover .text-container, .services .item.focused .text-container  {
  color: white;
}
.touch .service-slider .item:hover a.button, .touch .service-slider .item.focused a.button, .touch .service-slider .active-slide .item a.button {
  display:block;
}
.services .item.focused p, .services .item:hover p  {
  display: block;
}
.services .item:hover, .services .item.focused {
  background-color: rgba(38, 55, 73, 0.85);
  color: white;
}
.services .item:hover .text-container, .services .item.focused .text-container  {
  color: white;
}
#service-bg {
  display: block;
}
.service-slider .text-container .larger-text .large-heading {
  font-size: 39px;
  color: #fff;
  letter-spacing: .78px;
  line-height: 1.1;
  font-family: 'Roboto';
}
.service-slider .text-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #fff;
  font-size: 28px;
  font-weight: lighter;
  text-align: center;
  max-width: 100%;
}
.number::after {
  display: flex;
  position: relative;
  content: "";
  background-color: #fff;
  height: 113px;
  width: 1px;
  left: 50%;
  margin-top: 1.2rem;
}
.service-slider .text-container p {
  font-size: 13px;
}
.service-slider .text-container .number {
  font-size: 2rem;
  font-family: 'Roboto';
  margin-bottom: 2.2rem;
}
.text-container img {
  margin-bottom: 5.4rem;
}
.services .slider-buttons {
  display: none;
}
#item-4 .number::after {
  margin-bottom: 8rem;
}
.item a {
  text-decoration: none;
}
.service-slider .item:not(.focused) p, .service-slider .item:not(.focused) .number, .service-slider .item:not(.focused) img {
  display: none;
}
.service-slider .item:hover p, .service-slider .item:hover .number, .service-slider .item:hover img {
  display: block;
}

/* Video */

.dental-facelift-vid {
  background-image: url(./images/beauty-gallery-background.webp);
  background-size: cover;
  padding: 5rem;
  margin: 2.5rem;
  max-height: 940px;
  container-type: inline-size;
}
.dental-facelift-vid img.frame {
  max-height: 65cqh;
}
.dt-container {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}
.play-video {
  position: absolute;
  bottom: 30%;
  /* transform: translateY(50%); */
}
.play-button {
  max-width: 15cqw;
}

/* Office */

.office {
  background-image: url('./images/beauty-gallery-background.webp');
  background-size: cover;
  padding: 5rem;
  margin: 2.5rem;
}
.frame {
  height: 842px;
}
.beauty-gallery .frame {
  height: 700px;
}
.dec {
  display: none;
}
.office-container {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  /* display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center; */
  text-align: center;
  gap: 2rem;
  width: 100%;
  max-width: 1280px;
}
.office-container .large-heading {
  margin: 2.4rem 0 1rem 0;
}
.office .split {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.office .slider {
  overflow: visible;
  margin-top: 5.9rem;
}
.office .owl-item {
  justify-content: center;
}
.office .item {
  background-color: #fff;
  padding: 3rem 0 8.8rem 0;
  width: 100%;
  max-width: 595px;
  position: relative;
}
.office .office-slider .owl-stage-outer {
  overflow: visible;
}
.slider-control {
  display: flex;
  justify-content: center;
  gap: 6rem;
  margin-top: 3rem;
}
.slider-control::after {
  display: flex;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  content: "";
  background-color: #232323;
  height: 42px;
  width: 1px;
}
.prev-btn, .next-btn {
  all: unset;
  position: relative;
  padding: 0 0 1.5rem;
  font-weight: 500;
  font-family: 'Montserrat';
  font-size: 11px;
  letter-spacing: 2.88px;
  line-height: normal;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  color: #232323;
  font-weight: 600;
}
.prev-btn::before, .next-btn::before {
  position: absolute;
  content: "";
  width: 7.6rem;
  top: 2.6rem;
  right: 0;
  height: 1px;
  background-color: #232323;
}
.next-btn::before {
  left: 0;
}
.prev-btn::after {
  position: absolute;
  content: "";
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-right: 4px solid #232323;
  top: 2.5rem;
  right: 7.6rem;
  transform: translateY(-38%);
}
.next-btn::after {
  position: absolute;
  content: "";
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 4px solid #232323;
  top: 2.5rem;
  left: 7.6rem;
  transform: translateY(-38%);
}
.prev-btn:hover, .next-btn:hover {
  font-weight: 900;
}
.prev-btn:hover:before, .next-btn:hover:before {
  width: 8.6rem;
}
.prev-btn:hover:after {
  right: 8.6rem;
}
.next-btn:hover:after {
  left: 8.6rem;
}

/* Footer */

footer {
  background-image: url('./images/footer-background.webp');
  background-size: cover;
  position: relative;
}

footer:after  {
  content:"";
  background-image: linear-gradient(rgba(255,255,255,0), #dad7cd);
  left:0;
  bottom:0;
  width:100%;
  height:350px;
  position: absolute;
}

footer > div {
  z-index:1;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* gap: 4.3rem; */
  text-align: center;
  max-width: 1440px;
}
footer .logo {
  all: unset;
  margin-top: 6rem;
}
footer .logo~p {
  margin: 5rem 0 4.4rem;
}
.location {
  width: 100%;
  border-top: 1px solid rgba(55, 70, 85, 0.7);
  margin: 4rem 0;
}
.office-heading {
  font-size: 11px;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  font-weight: 600;
  font-family: 'Montserrat';
  width: 304px;
  margin: 0 auto;
  padding: 1rem 0;
  border-left: 1px solid rgba(55, 70, 85, 0.7);
  border-right: 1px solid rgba(55, 70, 85, 0.7);
  border-bottom: 5px solid #374655;
}
.office-details {
  display: flex;
  justify-content: center;
  grid-gap: 3rem;
}
.left .larger-heading, .right .larger-heading {
  font-size: 3.9rem;
  margin-bottom: 2rem;
}
.left, .right {
  margin-top: 4.3rem;
}
.left {
  text-align: right;
}
.right {
  text-align: left;
}
.office-details p {
  margin-bottom: 0;
  font-size: 15px;
}
footer .button-container {
  width: 315px;
  height: 67px;
  left: 0;
}
footer .button {
  position: relative;
  left: -7px;
  top: -9px;
  padding: 1.8rem 5rem;
}

#menu-footer {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.09;
  letter-spacing: 3.3px;
  font-family: Inter;
  text-transform: uppercase;
  gap: 1rem;
  padding-left: 0;
  margin: 4rem 0 3rem;
  text-decoration: none;
  position: relative;
  top: 3rem;
}
#menu-footer li {
  font-size: 1rem;
}
#menu-footer li a {
  color: #1a1a1a;
}
#menu-footer li a:hover {
  font-weight: 900;
}
.menu-footer-container {
  margin-top: 4.4rem;
}
.footer-copyright {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  top: 2rem;
}
.footer-icons {
  display: flex;
  gap: 3rem;
  margin: 1.2rem auto 0;
}

.footer-icons a {
  display:flex;
  justify-content: center;
  align-items: center;
  width:20px;
  height:20px;
}
.copyright {
  font-size: 13px;
  order: 2;
}
.copyright a {
  color: inherit;
}
.footer-copyright a:visited {
  color: inherit;
}
.footer-icons .icon {
  height: 16px;
  width: 16px;
}
/* .footer-icons .icon.i-instagram {
  height: 20px;
  width: 20px;
  position: relative;
  top: 3px;
} */
.footer-icons .icon.i-instagram, .footer-icons .icon.i-facebook-f {
  height:20px;
  width:20px;
}
.footer-icons a::before {
  content: "";
  position: absolute;
  /* bottom: -9px;
  left: -8px; */
  width: 35px;
  height: 35px;
  border-radius: 50%;
  border: 1px solid rgba(55, 70, 85, 0.2);
}
.footer-icons a:hover::before {
  border-color:#1a1a1a;
}
/* .footer-icons .icon.i-facebook-f:before {
  left: -9px;
  bottom: 0;
} */
/* .footer-icons .icon.i-facebook-f:hover:before {
  bottom: -9px;
} */
/* .footer-insta .icon:before {
  bottom: -8px;
} */
.copyright a {
  text-decoration: none;
}
.copyright a:visited {
  color: inherit;
}

/* Innerpage */

.innerpage .hero-container {
  top: 60%;
}
.page main {
  background-color: #fff;
}
.container.flex-row {
  padding: 2.5rem 0;
  display: flex;
  justify-content: flex-end;
  gap: 5rem;
  position: relative;
  max-width: 1920px;
}
.page-content {
  width: 37.75%;
  max-width: 100%;
  padding: 8rem 0 0 0;
  color: #1a1a1a;
}
.page-content h1 {
  font-size: 3.8rem;
  letter-spacing: .76px;
  font-weight: 300;
  line-height:1.1;
}
.page-content h2 {
  font-size: 3.2rem;
  font-family: 'Roboto';
  font-weight: 300;
  border-top: 1px solid #dddddd;
  padding-top: 7rem;
  margin-top: 7rem;
}
.page-content p {
  font-size: 1.6rem;
  font-family: 'Roboto';
}
.page-content a {
  color: #ad916a;
  text-decoration: none;
}
.page-content a:visited {
  color: #ad916a;
}
.page-content a:hover {
  color: #1a1a1a;
}

.sidebar {
  width: 41.25%;
  position: relative;
  background-image: url('./images/innerpage-sidebar-background.webp');
  background-repeat: no-repeat;
  background-color: #cddfd3;
}
.sidebar-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14rem;
  margin-left: 3.5rem;
  padding: 3rem 0 2rem;
}
.sidebar-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 4rem 3rem 0 3rem;
  max-width: 50%;
  min-width: 39.2rem;
  color: #232323;
}
.sidebar-card:nth-child(1) {
  margin-top: 8rem;
}
.sidebar-card.gallery {
  background-image: url('./images/innerpage-frame-2.webp');
  height: 65.7rem;
  justify-content: flex-start;
}
.sidebar-card.sd-test {
  background-image: url('./images/innerpage-frame-3.webp');
  height: 96.6rem;
  justify-content: flex-start;
  position: relative;
  bottom: 10rem;
}

.innerpage-frame {
  position: absolute;
  top: 9rem;
}
.sidebar-card .small-heading, .sidebar-card .large-heading {
  margin-bottom: 1.8rem;
}
.sidebar-card .large-heading {
  font-size: 2.8rem;
}
.sidebar-card p {
  font-size: 1.5rem;
  margin-top: 2rem;
}
.sidebar-card .button {
  padding: 1.8rem 7rem;
  z-index: 9;
}
.sidebar-card:nth-child(2) .small-heading, .sidebar-card:nth-child(3) .small-heading {
  margin-top: 2rem;
}
.card-gallery {
  display: flex;
  gap: 1.2rem;
}
.sidebar-card .button-container {
  position: relative;
  display: block;
  width: 256px;
  height: 73px;
  border-right: 1px solid #374755;
  border-bottom: 1px solid #374655;
  left: 0px;
  top: 0rem;
}
.sidebar-card .button {
  position: relative;
  left: -8px;
  bottom: 3px;
  padding: 1.8rem 5rem;
}
.gallery .button-container {
  position: relative;
  display: block;
  width: 247px;
  height: 73px;
  border-right: 1px solid #374755;
  border-bottom: 1px solid #374655;
  left: 0px;
  top: 0rem;
}
.gallery .button {
  left: -7px;
  padding: 1.8rem 5.5rem;
}
.sidebar-card .stars {
  margin-top: 1rem;
  top: 4rem;
}
.sidebar-card .slider {
  margin-top: 3rem;
}
.test-content ~ p {
  font-size: 2rem;
  line-height: 36px;
  letter-spacing: .4px;
  color: #1a1a1a;
  font-weight: 300;
}
.testimonial-author {
  font-size: 15px;
  font-weight: 900;
}
.more-reviews {
  font-size: 15px;
  border-top: 1px solid rgba(55, 70, 85, 20%);
  margin-top: 4rem;
  padding-top: 2rem;
}
.more-reviews img {
  margin: 0 8px;
}
.more-reviews > div {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 2rem;
}

.sidebar-card .icon {
  width: 17px;
  height: 17px;
}
.sidebar-card .icon:before {
  display: flex;
  content: "";
  position: relative;
  bottom: 9px;
  left: -9px;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  border: 1px solid rgba(55, 70, 85, 0.2);
}
.sidebar-card:nth-child(3) a {
  color: #1a1a1a;
}
.sidebar-card a span {
  text-decoration: none;
}
.sidebar-card .slider-control {
  margin-top: 4rem;
}
.sidebar .wp-block-heading {
  font-size: 1.6rem;
  font-weight: 400;
}
.sidebar.blog aside:nth-child(1) {
  margin-bottom: 2rem;
}
.page-content {
  padding: 9rem 0;
  width: 100%;
  max-width: 38%;
}
.tags p, .tags a {
  font-size: 1.2rem;
  line-height: 2.4rem;
}
.tags p {
  margin-bottom: 0;
}
.inner-p-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  max-width: 720px;
  flex-wrap: wrap;
  margin: 0 auto;
}

/* Smile Gallery */

.top-items h1 {
  text-align: center;
}

.smile-container {
  max-width: 52%;
}
.filter-container {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  justify-content: center;
  gap: 2rem;
  padding-left: 0;
}
.filter-container li {
  list-style: none;
}
.filter-container li button {
  padding: 12px 20px;
  margin-right: 0;
  cursor: pointer;
  color: #374655;
  background: #fff;
  border: 1px solid #374655;
  height: 100%;
  font-family: 'Montserrat';
  font-size: 11px;
  letter-spacing: 2.8px;
  font-weight: 600;
  text-transform: uppercase;
}
.filter-container li.active button {
  color: #fff;
  background: #374655;
}
.gallery-container {
  display: flex;
  flex-wrap: wrap;
  gap: 4rem;
}
a.gallery-popup {
  width: 100%;
  max-width: 100%;
  text-decoration: none;
}
.gallery-card {
  background-color: transparent;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.gallery-container a:hover {
  cursor: pointer;
  opacity: .9;
}

html.fixed, body.fixed { }

.modal {
  position: fixed;
  background-color: #ededed;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  z-index: 99992;
  gap: 1.5rem;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 3rem;
  margin: 0!important;
  display: none;
  overflow-y: scroll;
  width: 100%;
  max-width: 796px;
  overflow-y: scroll;
  min-height:66.6%;
}

.modal-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
}
.modal-container .large-heading {
  font-family: Roboto;
  font-size: 38px;
  font-weight: light;
}

.image-container {
  display: grid;
  grid-template-areas:
      "a b"
      "c d"
      "e f";
  grid-template-columns: 1fr 1fr;
  grid-gap: 1.5rem;
  width: 100%;
  max-width: 640px;
  padding-bottom: 1rem;
  text-align: center;
}
.image-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}
.cap-heading {
  font-family: Montserrat;
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 2.2px;
}
.modal-content {
  text-align: center;
  font-size: 15px;
  font-family: Roboto;
  font-weight: 500;
}
.modal-close {
  position: absolute;
  right:20px;
  top:20px;
  cursor:pointer;
}

.modal-switcher {
  position:absolute;
  top:45vh;
  transform:translateY(-50%);
  cursor:pointer;
  font-size:2rem;
}

.modal-switcher:hover {
  background:var(--text-color);
  color:#fff;
}

.modal-switcher.prev-modal {
  left:20px;
}
.modal-switcher.next-modal {
  right:20px;
}

.smile-overlay {
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: rgba(38, 55, 73, 0.9);
  top: 0;
  left: 0;
  z-index: 99991;
  display: none;
  overflow-x: hidden;
  overflow-y: auto;
}
.gallery-card div {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.gallery-card .modal-content {
  text-align: center;
  max-width: 80%;
}
.gallery-container a {
  cursor: auto;
  color: inherit;
}
.page-id-2429 .sidebar {
  width: 36.25%;
}
.page-id-2429 .sidebar-container {
  margin-left: 2rem;
}

/* Hover */

.icon:hover {
  filter: brightness(0) saturate(100%) invert(5%) sepia(16%) saturate(44%) hue-rotate(316deg) brightness(98%) contrast(88%);
  border-color: brown;
}
 /* .icon:hover:before {
  border: 1px solid #1a1a1a;
 } */
 /* .header-wrap:hover a img {
  filter: brightness(0) saturate(100%) invert(93%) sepia(14%) saturate(169%) hue-rotate(87deg) brightness(92%) contrast(93%);
 } */

.page-id-2429 .sidebar-container {
  gap: 23rem;
}

/* YouTube Popups */

.popup-overlay-yt {
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: rgba(38, 55, 73, 0.9);
  top: 0;
  left: 0;
  z-index: 99991;
  display: none;
  overflow-x: hidden;
  overflow-y: hidden;
}
.popup-video-container {
  position: relative;
  padding-bottom: 55.25%!important;
  padding-top: 30px!important;
  height: 0;
  overflow: hidden;
}
.popup-overlay-yt.show {
  display: block;
}
.youtube-modal {
  background-color: #fff;
  width: 75%;
  max-width: 1280px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  padding: 2rem;
  border-radius: 5px;
}
.youtube-modal.show {
  display: block;
}
.youtube-modal .close-btn {
  position: absolute;
  right: -4rem;
  top: 3rem;
  font-size: 4rem;
  text-decoration: none;
  color: #fff;
}
.popup-video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.modal-container .large-heading {
  margin-bottom:1rem;
}

.image-container {
  position:relative;
  gap:0;
  padding:0;
  margin-bottom:2rem;
}

.image-container > img {
  width:100%;
  display:block;
}

.image-container p {
  margin-bottom:0;
}

.smile-gallery-img.hide {
  display:none;
}

.show-teeth {
  position:absolute;
  height:100%;
  z-index: 2;
  width:50%;
  left:0;
  top:0;
  cursor:pointer;
}

.show-teeth.teeth-after {
  left:50%;
}

.teeth-img {
  display:none;
  position:relative;
  width:100%;
  left:0;
  z-index:5;
}

.teeth-img-close {
  position:absolute;
  right:1.2rem;
  top:1rem;
  color:#fff;
  cursor:pointer;
  font-weight:700;
  font-size:3rem;
}

.teeth-container, .teeth-img {
  max-width:70%;
}

.teeth-container .teeth-img-close {
  display:none;
}

.teeth-img:first-child, .teeth-img:nth-child(3) {
  margin-bottom:1rem;
}

/* .text-before:before {
  content:"* before image";
  color:#fff;
  font-size:2rem;
  position:absolute;
  left:1.2rem;
  bottom:1rem;
}

.text-after:before {
  content:"* after image";
  color:#fff;
  font-size:2rem;
  position:absolute;
  left:1.2rem;
  bottom:1rem;
} */


.teeth-img > img {
  display:block;
}

.teeth-img.active {
  display:block;
}




/* Media Queries */
/* @container (max-width: 1550px) {
  .dt-container > img:first-child {
    width: 50cqw;
  }
} */



@media screen and (max-width: 1700px) {
  #menu-main-menu, #menu-main-menu-right {
    gap: 2rem;
  }
  .nav-primary li > a {
    font-size: 1.2rem;
    letter-spacing: 1.6px;
  }

  .service-slider .text-container .number:after {
    height: 75px;
  }
  .text-container img {
    margin-bottom: 3rem;
  }
  .service-slider .text-container .larger-text .large-heading {
    font-size: 29px;
  }
  .services .item {
    padding: 0 3rem 2rem;
  }
  .services .item p {
    margin: 1rem 0;
  }
  #item-1 img {
    width: 134px;
    height: 180px;
  }
  #item-2 img {
    width: 149px;
    height: 180px;
  }
  #item-3 img {
    width: 131px;
    height: 180px;
  }
  #item-4 img {
    width: 200px;
    height: 131px;
  }

  .innerpage .hero-container {
    top: 70%;
  }
  .innerpage .hero-card .larger-heading {
    font-size: 4.4rem;
    margin-bottom:1.2rem;
  }
  .innerpage .hero-container p {
    margin: 0 0 2rem 0;
  }
}

@media screen and (min-width: 1485px) {
  .credentials-left {
    column-gap: 1rem;
  }
}

@media screen and (max-width: 1485px) {
  .credentials-left {
    flex-wrap: wrap;
  }
}

@media screen and (max-width: 1380px) {
  .hero-container {
    top: 65%;
  }
  .hero-card .larger-heading {
    font-size: 4rem;
  }
  .hero-container p {
    margin-top: 2rem;
  }
  .left-side, .right-side {
    gap: 2rem;
  }
  .doctor-card {
    max-width: 53%;
  }
  .doctor-card p {
    margin-top: 1.1rem;
    line-height: 1.9;
  }

  .testimonials-container {
    top: 44%;
  }
  .testimonials .item {
    font-size: 2rem;
    letter-spacing: .16px;
  }
}

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

  .page-content h1 {
    font-size: 3.2rem;
    letter-spacing: .76px;
    font-weight: 300;
  }

  .nav-container .logo img {
    width: 240px;
    height: 110px;
  }
  .header-wrap {
    display: none;
  }
  .menu-icon {
    position: absolute;
    top: 6rem;
    left: 4rem;
  }
  .header-phone {
    display: block;
    position: absolute;
    height: 40px;
    top: 2.5rem;
    width: 40px;
    right: 0;
    left: auto;
    margin-bottom: -10px;
  }
  .phone-icon {
    top: 5.5rem
  }
  .icon .bar {
    background: #232323;
    opacity: .5;
  }
  .from-top.open {
    height: 100vh!important;
  }
  .nav-primary .menu-main-menu-container, .nav-primary .menu-main-menu-right-container {
    all: unset;
  }
  .nav-primary #menu-main-menu-right>li>a, .nav-primary #menu-main-menu>li>a {
    color: #232332 !important;
    font-size: 2rem !important;
  }
  #menu-main-menu-right {
   padding: 0;
  }
  #menu-main-menu-right li {
    /* margin: 0 1.2rem; */
  }
  .hero-card p {
    margin: 0 0 2rem;
  }
  .left-side, .right-side {
    gap: 1.5rem;
  }
  .left-side img, .right-side img {
    max-width: clamp(40rem, 46.875vw + -8rem, 52rem);
  }
  .left-side p br, .right-side p br {
    display: none;
  }
  .left-side p {
    max-width: 55%;
  }
  .beauty-inner-container .split {
    max-height: 330px;
  }
  .beauty-container .button-container {
    top: 3rem;
  }

  .doctor-container {
    padding: 0 15px;
  }
  .doctor-card .large-heading {
    font-size: 3rem;
    margin-top: 1rem;
    line-height: 1.2;
  }
  .doctor-card .large-heading br {
    display: none;
  }
  .doctor-card .large-heading ~ p {
    font-size: 14px;
    margin-bottom: 1.2rem;
    line-height: 1.7;
  }
  .doctor-card .large-heading ~ p br {
    display: none;
  }
  .doctor-card ul {
    gap: 6px;
  }
  .doctor-card ul br {
    display: none;
  }
  .credentials-left img:nth-child(1) {
    width: 90px;
    height: 48px;
    left: 0px;
  }
  .credentials-left img:nth-child(2) {
    width: 100px;
    height: 30px;
    left: 5px;
  }
  .credentials-right {
    max-width: 56%;
  }
  .credentials-right p {
    font-size: 12px;
    margin: 0 0 0 8px;
  }
  .credentials-right p br {
    display: none;
  }
  /* .icoi-logo {
    left: 1rem;
    bottom: 12px;
  } */
  /* .doctor-buttons {
    padding-top: 1rem;
  } */
  /* .doctor-buttons .button-container {
    width: 266px;
    height: 60px;
    left: 5px;
  } */
  .doctor-buttons .button.light {
    /* width: 261px; */
    padding: 2.5rem 4rem;
    /* left: -5px;
    top: -10px; */
  }

  .testimonials .item {
    font-size: 1.8rem;
  }

  .services {
    position: relative;
    max-width: 1920px;
    width: 100%;
    margin: 0 auto;
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: #fff;
  }
  .services .slider-buttons {
    display: flex;
  }
  .owl-carousel.owl-loaded {
    display: block!important;
  }
  .service-slider-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
  }
  .service-slider {
    all: unset!important;
    position: relative!important;
  }
  .services .owl-stage-outer {
    height: 100%;
  }
  .service-slider .item {
    max-width: 100%;
    align-items: center;
    background-color: rgba(6, 122, 124, 0.85);
  }
  .service-slider .item br {
    display: none;
  }
  .services .service-slider {
    z-index: 1!important;
    width: 100%!important;
  }
  .services .item {
    background-color: #263749!important;
    border: none;
  }
  .services .item {
    padding: 10rem 0 4rem;
  }
  .services .slider-buttons {
    position: absolute;
    /* top: 73%;
    left: 50%;
    transform: translateX(-50%); */
    z-index: 9;
  }
  .services .slider-control::after {
    background-color: #fff;
  }
  .services .slider-buttons .prev-btn, .services .slider-buttons .next-btn {
    color: #fff;
  }
  .services .slider-buttons .prev-btn::before, .services .slider-buttons .next-btn::before {
    background-color: #fff;
  }
  .services .slider-buttons .prev-btn::after {
    border-right: 4px solid #fff;
  }
  .services .slider-buttons .next-btn::after {
    border-left: 4px solid #fff;
  }
  .services .larger-text .large-heading {
    text-align: center;
  }
  .service-slider .text-container {
    margin: 0 auto;
  }
  .service-slider .text-container p {
    max-width: 65%;
  }
  .service-slider .item:not(.focused) p {
    display: block;
  }
  .service-slider .item .number {
    display: none;
  }
  .service-slider .item .number ~ img {
    display: none;
  }
  .service-slider .item:hover .number {
    display: none;
  }
  .service-slider .text-container .larger-text .large-heading {
    font-size: 38px;
  }

  .innerpage .hero-container {
    top: 65%;
  }
  .innerpage .hero-card .larger-heading {
    font-size: 4rem;
  }
  .innerpage .hero-card p {
    margin: 0 0 2.4rem 0;
  }

  .gallery-card .split {
    max-height: 315px;
  }
}

@media screen and (width: 1024px) {
  .hero picture {
    display: block;
    max-height:980px;
    overflow: hidden;
  }
  .hero picture img {
    object-position: 0px -130px;
    max-width: 140%;
    width: 140%;
  }
  .hero-container {
    top: 48%;
    left: 23%;
  }
  .doctor picture {
    display: block;
  }
  .doctor picture img {
    max-width: 130%;
    object-position: -160px;
  }
  .credentials-left {
    padding-top: 2rem !important;
  }
}

@media screen and (min-width: 1024px) {
  .credentials-right, .credentials-left {
    padding-top: clamp(0.5rem, 3.989vw + -3.585rem, 2rem);
  }
}

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


  .dental-facelift-vid img.frame {
    max-height: 50cqh;
  }
  .dental-facelift-vid .vert-wrap {
    display: none;
  }
  .page main {
    background-color: #f5f5f5;
  }
  .nav-container .logo img {
    width: 300px;
    height: 137px;
  }

  .large-heading {
    text-align: center;
  }
  .content .large-heading {
    text-align: left;
  }

  .hero-container {
    position: relative;
    top: auto;
    bottom: auto;
    left: auto;
    transform: none;
    padding: 4.8rem;
    margin-top: -3px;
    background: #e5e2d9;
  }
  .hero-card {
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  .hero-card .larger-heading {
    font-size: 5.6rem;
  }
  .hero-card p {
    margin: 1.5rem 0 2rem;
  }
  .innerpage .hero-card .larger-heading {
    text-align: center;
  }

  .beauty-gallery, .testimonials, .office  {
    margin: 2.5rem 0;
  }
  .beauty-gallery .frame { 
    height: 770px;
  }
  .beauty-container {
    width: 90%;
    top: 50%;
  }
  .beauty-inner-container .split {
    display: none;
  }
  .left-side, .right-side {
    margin-top: 2rem;
  }
  .left-side {
    gap: 3.5rem;
  }
  .right-side {
    display: none;
  }
  .left-side img, .right-side img {
    max-height: 100%;
  }
  .left-side p {
    text-align: center;
    top: 90%;
    left: 50%;
    transform: translateX(-50%);
  }
  .beauty-container .button-container {
    top: 2rem;
  }

  .doctor-container {
    position: relative;
    top: auto;
    bottom: auto;
    left: auto;
    transform: none;
    padding: 4.8rem;
    margin-top: -3px;
    justify-content: center;
    background: #e5e2d9;
  }
  .doctor-card {
    align-items: center;
    text-align: center;
    max-width: 100%;
  }
  .doctor-card .large-heading {
    font-family: 'Roboto thin';
    font-size: 3.8rem;
  }
  .doctor-card .large-heading span {
    font-family: 'Roboto';
  }
  .doctor-card .large-heading ~ p {
    margin: 2rem 0;
  }
  .doctor-card ul {
    text-align: left;
  }
  .credentials {
    width: 610px;
    justify-content: center;
    gap: 2rem;
  }
  .credentials-left {
    width: 46%;
  }
  .credentials-right {
    max-width: 48%;
  }
  /* .doctor-buttons .button-container {
    width: 253px;
    left: 0px;
  } */
  /* .doctor-buttons .button.light {
    width: 249px;
  } */

  .credentials-right p {
    text-align: left;
    margin: 0 0 0 25px;
  }
  .credentials ~ .doctor-buttons {
    padding-top: 6rem;
  }
  .icoi {
    display: none;
  }
  .doctor-buttons {
    padding: 0;
  }

  .testimonials-container {
    top: 20%;
  }
  .testimonials-container .stars, .testimonials-container .split {
    display: none;
  }
  .testimonials-container .stars-middle {
    flex-direction: column;
  }
  .testimonials-container .stars-middle .center {
    display: block;
  }
  .testimonials-container .dec {
    display: block;
    top: 12rem
  }
  .testimonials-container .stars {
    top: 7.8rem;
  }
  .testimonials-slider .owl-stage .owl-item .active:nth-child(1) {
    justify-content: center!important;
  }
  .testimonials-slider .owl-stage .owl-item:nth-child(3) {
    justify-content: center!important;
  }
  .testimonials-slider .owl-stage .owl-item:nth-child(3) .item {
    text-align: center;
    padding-right: 0;
  }
  .testimonials-slider .owl-stage .owl-item:nth-child(4) {
    justify-content: center;
  }
  .testimonials-slider .owl-stage .owl-item:nth-child(4) .item {
    text-align: center;
    padding-left: 0;
  }
  .testimonials-slider .owl-stage .owl-item.active.active-slide {
    justify-content: center!important;
  }
  .testimonials-slider .owl-stage .owl-item.active.active-slide .item {
    text-align: center;
    padding-right: 0;
  }
  .testimonials-slider .owl-stage .owl-item.cloned.active .item {
    padding-left: 0;
  }
  .testimonials .item {
    font-size: 2.4rem;
  }
  .reviews {
    max-width: 80%;
    justify-content: space-between;
  }

  /* .services .slider-buttons {
    top: 68%;
  } */
  .dec {
    display: block;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 13rem;
  }
  .office-container .split {
    display: none;
  }

  #menu-footer {
    position: relative;
    bottom: 2rem;
  }
  /* .footer-icons {
    left: 50%;
    transform: translateX(-50%);
    bottom: 20rem;
  } */
  .footer-copyright {
    text-align: center;
    padding: 0 1rem;
  }


  .innerpage .info-section {
    position: relative;
    top: 70%;
    max-width: 80%;
    padding: 5rem;
  }
  .innerpage .hero-container {
    left: 0;
  }
  .container.flex-row {
    padding: 4rem 0 2.5rem;
    flex-direction: column;
    align-items: center;
  }
  .sidebar {
    width: 100%;
    max-width: 100%;
    background-size: contain;
  }
  .sidebar-container {
    margin-left: 0;
    align-items: center;
  }
  .sidebar-card:nth-child(3) {
    max-width: 40%;
  }
  .content {
    max-width: 100%;
    padding-right: 0;
    width: 82%;
  }
  .sidebar.blog {
    left: 0;
  }
  .page-id-2429 .sidebar-container {
    margin-left: 0;
  }
  .page-id-2429 .sidebar {
    width: 100%;
  }
  .page-content {
    padding: 4rem;
    width: 100%;
    max-width: 100%;
  }
}

@media screen and (max-width: 767px) {
  .dental-facelift-vid img.frame {
    max-height: 50cqh;
  }
  .hero-container {
    padding: 3rem 1rem;
  }
  .hero-card .larger-heading {
    font-size: 4.4rem;
  }

  .doctor-container {
    padding: 3rem 1rem;
  }
  .doctor-card {
    max-width: 97%;
  }

  .beauty-gallery, .testimonials, .office {
    padding: 3rem;
  }
  .beauty-container {
    top: 48%;
  }
  .beauty-container .large-heading {
    max-width: 55%;
    text-align: center;
  }
  .left-side {
    gap: 3.5rem;
  }
  .left-side img, .right-side img {
    max-height: 100%;
    max-width: 95%;
  }
  .beauty-inner-container .split {
    max-height: 285px;
  }
  .beauty-container .button-container {
    top: 2rem;
  }
  .vert-wrap {
    display: none;
  }

  .testimonials-container {
    width: 90%;
  }
  .testimonials-slider .item {
    font-size: 2rem;
  }
  .reviews {
    max-width: 90%;
  }
  .reviews-text p {
    font-size: 13px;
  }
  .reviews-text a {
    font-size: 13px;
  }

  /* .services .slider-control {
    margin-top: 0;
  } */

  .office .frame {
    height: 735px;
  }
  .office-container .small-heading {
    position: relative;
    bottom: 2rem;
  }
  .office-container .large-heading {
    max-width: 66%;
    margin: 0 auto;
  }
  .office .item {
    padding: 3rem 0 5.8rem;
    max-width: 495px;
    max-width: 80%;
  }
  .office .item img {
    max-width: 90%;
  }

  .office-details {
    gap: 0;
  }

  .gallery-card .split {
    max-height: 305px;
  }
  .gallery-container {
    padding: 0 2rem;
  }
  footer {
    background-image: url('./images/mobile/footer-background.webp');
    background-size: cover;
    position: relative;
  }
  .footer-icons {
    bottom: 28rem;
  }
}

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

  .doctor-buttons {
    margin-top: 1rem;
  }

  .dental-facelift-vid img.frame {
    max-height: 40cqh;
  }
  .play-video {
    bottom: 10%;
  }
  .play-button {
    max-width: 30cqw;
  }
  .beauty-container .large-heading {
    max-width: 85%;
  }
  .left-side p {
    max-width: 90%;
    width: 100%;
  }
  .left-side p br {
    display: none;
  }

  .reviews {
    flex-direction: column;
  }
  .reviews-text {
    width: 100%;
    justify-content: center;
  }
  .reviews-icons {
    top: 0;
    right: 0;
    justify-content: center;
  }

  /* .services .slider-control {
    top: 60%;
  } */

  footer .container {
    gap: 3.3rem;
  }
  .office-details {
    flex-direction: column;
  }
  .office-details img {
    display: none;
  }
  .office-details .left, .office-details .right {
    text-align: center;
  }
  .office-details .left {
    margin-top: 0;
  }
  .footer-copyright p {
    font-size: 13px;
    text-align: center;
  }

  .page-id-2429 .content {
    width: 100%;
  }

  .gallery-card .split {
    max-height: 285px;
  }
  .credentials {
    flex-direction: column;
    align-items: center;
    border-top: none;
  }
  .credentials-left {
    border-right: none;
    column-gap: 1.5rem;
    width: 100%;
  }
  .credentials-right {
    border-top: 1px solid #232323;
    padding-top: 0;
    max-width: 100%;
    width: 100%;
  }
  .credentials .button-container {
    width: auto;
  }
  .doctor-buttons {
    justify-content: center;
  }

  .dental-facelift-vid {
    margin: 0;
    padding: 2rem;
  }

  footer .container {
    gap: 1.3rem;
  }
  footer .logo~p {
    margin: 1rem 0 1.4rem;
  }
  .menu-footer-container {
    margin-top: 0;
  }
  #menu-footer {
    margin: 0 0 3rem;
  }
}

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

  .menu-icon {
    left: 2rem;
  }
  .phone-icon {
    right: 1.5rem;
  }

  .large-heading {
    font-size: 2.8rem;
  }
  .hero-card {
    width: 95%;
    margin: 0 auto;
  }
  .hero-card p br {
    display: none;
  }

  .beauty-gallery {
    height: 720px;
  }
  .beauty-gallery .frame {
    display: none;
  }
  .beauty-container .large-heading {
    max-width: 85%;
  }

  .doctor-card .large-heading {
    font-size: 3.4rem;
  }
  .doctor-card .large-heading span br {
    display: none;
  }
  .credentials {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: none;
    gap: 1.5rem;
  }
  .credentials-left {
    border: none;
    justify-content: center;
    width: 100%;
    max-width: 100%;
  }
  .credentials-right {
    border-top: 1px solid #374655;
    width: 85%;
    max-width: 100%;
  }
  .credentials-right p {
    margin: 0;
    text-align: center;
  }
  .doctor-buttons {
    margin: 1rem auto 0;
  }

  .testimonials {
    height: 755px;
    min-height: 755px;
    margin: 2rem 0;
  }
  .testimonials .frame {
    display: none;
  }
  .testimonials-container {
    top: 12%;
  }
  .testimonials-container .stars {
    top: 5.8rem;
  }
  .testimonials-slider {
    padding: 0 2rem;
    bottom: 0;
    top: 25%;
  }
  .testimonials .item br {
    display: none;
  }
  .reviews {
    top: 52rem;
  }
  .reviews .icon:before {
    content: none;
  }
  .testimonials .slider-control {
    bottom: 0;
    top: 79%;
  }

  /* .services .slider-control {
    top: 70rem;
  } */
  .service-slider .text-container .larger-text .large-heading {
    font-size: 3.4rem;
  }
  
  .office {
    min-height: 625px;
  }
  .office picture img {
    display: none;
  }

  .innerpage .hero-card p br {
    display: none;
  }
  .page-content {
    padding: 2rem 1rem 0 1rem;
  }
  .sidebar {
    width: 100%;
    max-width: 100%;
  }

  .modal-content p {
    font-size: 14px;
    margin: 0;
  }
  .gallery-card .split {
    max-height: 250px;
  }
}
@media screen and (max-width: 398px) {
  .hero-card .larger-heading br {
    display: none;
  }
  .beauty-container .small-heading {
    flex-direction: column;
    align-items: center;
  }
}