/*
  Theme Name: IDW Child Theme 2022
  Description: Custom Theme for
  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: #003399;
}

body {
    background-color:#fff;
    color:#505050;
	  font-size:1.6rem;
    line-height: 3.1rem;
    font-family:'Lato', sans-serif;
}

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

h1, h2, h3, h4, h5, p, ul {
	margin-top: 0;
}

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

figcaption{
  text-align: center;
}



/*
* 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: #fff;
  opacity: .7; /* Firefox */
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
  color: #fff;
  opacity: .7;
}

::-ms-input-placeholder { /* Microsoft Edge */
  color: #fff;
  opacity: .7;
}

.icon-color {
  fill:#039;
}


/*------------------------- 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 .logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 4rem;
  z-index: 1;
}
.logo-text {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 18rem;
  z-index: 1;
}
.header-directions {
  position: absolute;
  left: 4.2rem;
  top: 3rem;
  width: 50%;
  font-size: 15px;
  line-height: 1.33;
  letter-spacing: .6px;
  color: #f5f5f5;
  font-family: Inter;
  z-index: 4;
}
.header-directions a {
  color: #fff;
}
.footer-directions a {
  color: #383838;
}
.header-directions a, .footer-directions a {
  text-decoration: none;
}
a:visited {
  color: inherit;
}
.header-icons {
  display: flex;
  position: absolute;
  right: 4.2rem;
  top: 5rem;
  width: 50%;
  column-gap: 2.82rem;
  justify-content: flex-end;
  z-index: 2;
  font-size: 15px;
  line-height: 1.33;
  letter-spacing: .6px;
  color: #f5f5f5;
  font-family: Inter;
}
.header-directions img {
  position: relative;
  top: 1.2rem;
  margin-right: 8px;
}
.header-icons .icon {
  filter: invert();
}
.header-icons .icon::before {
  content: "";
  position: absolute;
  bottom: -9px;
  left: -1rem;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  border: 1px solid rgba(56, 56, 56, 0.4)
}
i.icon {
  position: relative;
  top: 2px;
  width: 16px;
  height: 16px;
}
.nav-primary {
  top: 8rem;
  width: 100%;
  position: absolute;
  left: 0;
  right: 0;
  z-index: 2;
}
.nav-primary .menu-main-menu-container {
  position: absolute;
  width: calc(50% - 145px);
  margin: 1rem 0 0 4rem;
  border-top: 1px solid rgba(255,255,255,.9);
}
.nav-primary .menu-main-menu-right-container {
  position: absolute;
  width: calc(50% - 145px);
  text-align: left;
  right: 0;
  margin: 1rem 4rem 0 0;
  border-top: 1px solid rgba(255,255,255,.9);
}
#menu-main-menu {
  justify-content: flex-end;
  padding-top: 1.3rem;
  padding-right: 4rem;
  gap: 3rem;
}
#menu-main-menu-right {
  justify-content: flex-start;
  padding-top: 1.3rem;
  padding-left: 4.5rem;
  gap: 3rem;
}
.menu li {
  font-size: 14px;
  letter-spacing: 2.8px;
  font-family: 'Montserrat';
  text-transform: uppercase;
}
.sub-menu li a {
  padding: 1.2rem 2rem;
  display: block;
  line-height: 2rem;
  transition: all .7s ease;
  color: #222;
}
.sub-menu li a:hover {
  background: rgba(61, 106, 142, .2);
  font-weight: 800;
}
.nav-primary li > a {
  color: #fff;
  font-size: 1.2rem;
  letter-spacing: 2.4px;
  line-height: 1;
  text-transform: uppercase;
  font-weight: 600;
  padding: 2.4rem 0;
  display: inline-block;
}
.menu li {
  font-size: 14px;
  letter-spacing: 2.8px;
  font-family: 'Montserrat';
  text-transform: uppercase;
}
.sub-menu li a {
  padding: 1.2rem 1.4rem;
  display: block;
  line-height: 2rem;
  transition: all .7s ease;
  color: #222;
}
.pic-wrap {
  position: relative;
}
.pic-wrap img {
  filter: brightness(83%);
}
.home .hero .pic-wrap picture img {
  display: none;
}
.hero-video {
  width:100%;
  max-height:100vh;
  position:relative;
  overflow: hidden;
}
.hero-video video {
  width:100%;
  height:auto;
  filter: brightness(83%);
}
.home .hero>picture {
  display: none;
}
.hero img {
  display: block;
  width: 100%;
}
.hero-text {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: center;
  left: 50%;
  transform: translateX(-50%);
  top: 50%;
  color: #fff;
  width: 100%;
  max-width: 1000px;
}
.hero-text .large-heading {
  font-family: Italiana;
  font-size: 7rem;
  line-height: 1.26;
  letter-spacing: 2.8px;
  -webkit-font-smoothing: subpixel-antialiased;
}
.hero-text p {
  font-family: Inter;
  font-size: 1.8rem;
  line-height: 2.33;
  letter-spacing: .36px;
}
.info-section {
  display: flex;
  align-items: center;
  justify-content: space-around;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 5%;
  padding: 5rem;
  backdrop-filter: blur(40px);
  background-color: rgba(255, 255, 255, 0.6);
  width: 95%;
}
.col:nth-child(1)::after, .col:nth-child(2)::after {
  display: flex;
  position: relative;
  content: "";
  background-color: #383838;
  height: 70px;
  width: 1px;
  margin: 0 5rem;
}
.col {
  display: flex;
  align-items: center;
  gap: 3rem;
  font-family: Inter;
  font-size: 18px;
  line-height: 1.78;
  letter-spacing: .36px;
  text-align: left;
  color: #383838;
}
.col img {
  width: 52px;
  height: 52px;
}
.button {
  font-family: Montserrat;
  font-size: 11px;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  text-decoration: none;
  width: 17%;
  padding: 3rem 4rem;
  color: #fff;
  background-color: #ad916a;
}
.button:visited {
  color: #fff;
}

/* Header - Stuck */

header.stuck {
  position: fixed;
  top: 0;
  z-index: 10;
  background: #fff;
  height: 6rem;
  max-width: 1920px;
}

header.stuck .menu>li:nth-child(3) {
  margin-right: 0;
}

header.stuck.desktop-menu.nav-primary {
  top: 2.5rem;
}

header.stuck .logo, header.stuck .header-address, .header.stuck .phone-number, header.stuck .header-wrap {
  display: none;
}

.stuck .nav-primary.from-top {
  display: flex;
  justify-content: center;
  top: 2rem;
  z-index: 4;
}

.stuck .nav-primary.from-top .menu-main-menu-right-container {
  right: auto;
  position: relative;
  display: inline-block;
  width: auto;
  top: auto;
  transform: none;
  margin: 2rem 0 0 0;
}

.stuck .nav-primary.from-top .menu-main-menu-container {
  left: auto;
  position: relative;
  display: inline-block;
  width: auto;
  top: auto;
  transform: none;
  margin: 2rem 0 0 0;
}

.stuck .nav-primary.from-top .menu-main-menu-container li:nth-child(3) {
  margin-right: 0;
}

.stuck .nav-primary.from-top .menu-main-menu-right-container li:nth-child(1) {
  margin-left: 0rem!important;
}

.stuck .nav-primary.from-top .menu-main-menu-container ul li a, .stuck .menu-main-menu-right-container ul li a {
  color: #000;
}

/* Doctors Slider - Homepage */

.doctors {
  background-color: #f3f2ee;
}
.doctors .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 5rem;
}
.container .doctor-intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  /* gap: 1.8rem; */
  margin: 4rem 0 0 0;
}
.doctor-slider .item {
  width: 130rem;
  /* height: 78rem; */
  height: auto;
  background-color: #fff;
}
.doctor-slider .item .doctor-img {
  width: auto!important;
  height: auto;
  position: absolute;
  transform: translate(187%,10%);
  filter: brightness(90%);
}
.doctor-slider .item-container p {
  margin-bottom: 1rem;
}
.doctor-img ~ .play-video {
  position: absolute;
  left: 72%;
  z-index: 8;
}
.item-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  /* transform: translateX(28%); */
  margin-top: 12rem;
  padding: 0 3rem 0 6%;
}
.small-heading {
  font-family: Montserrat;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.2px;
  text-transform: uppercase;
}
.large-heading {
  font-family: 'Italiana';
  font-size: 4.6rem;
  line-height: 1.26;
  letter-spacing: 1.84px;
  -webkit-font-smoothing: subpixel-antialiased;
}
.doctors .owl-carousel .owl-stage-outer {
  overflow: visible;
}
.doctor-slider {
  max-width: 135rem;
}
.doctors .small-heading {
  margin-bottom: 3rem;
}
.doctors .large-heading {
  text-align: left;
  font-size: 4rem;
  margin-bottom: 4rem;
}
.item p {
  font-family: Inter;
  font-size: 15px;
  letter-spacing: .3px;
  line-height: 2.27;
  text-align: left;
  color: #383838;
}
.item-container .button {
  width: 24%;
  margin-top: 3rem;
}
.credentials {
  display: flex;
  align-items: center;
  gap: 2rem;
  position: relative;
  left: 43rem;
  bottom: 8.5rem;
}
.credentials img:nth-child(1) {
  width: 95px;
  height: 58px;
}
.credentials img:nth-child(2) {
  width: 65px;
  height: 96px;
}
.slider-buttons {
  display: flex;
  gap: 2.5rem;
  margin-top: 4rem;
}
.slider-buttons button {
 border: none;
 background: none;
}
button img {
  max-width: 65px;
  height: 18px;
  cursor: pointer;
}

/* Services */

.services {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4rem 0 4.8rem;
}
.services-text {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: center;
  left: 50%;
  transform: translateX(-50%);
  top: 15.5%;
  width: 100%;
  color: #fff;
  font-size: 2.8rem;
  font-family: 'Italiana';
}
.services-text .large-heading {
  font-size: 7rem;
}
.services-header {
  text-align: center;
  position: relative;
}
.services-header::before {
  content: "";
  position: absolute;
  background-color: rgba(0,0,0,.2);
  width: 1880px;
  height: 800px;
}
.services-header::before {
  content: "";
  position: absolute;
  background-color: rgba(7, 39, 63, .15);
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
}
.services-header .large-heading {
  font-size: 7rem;
  color: #fff;
  position: absolute;
  top: 39%;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
}
.services-heading {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  text-align: center;
  padding: 9rem 0 5rem 0;
}
.services-slider {
  display: none;
}
.services-slider ~ .slider-buttons {
  display: none;
}
.grid-services {
  display: grid;
  grid-template-columns: 2fr 2fr;
  justify-content: start;
  justify-items: stretch;
  grid-gap: 4rem;
  max-width: 100%;
}
.grid-item img {
  filter: brightness(90%);
}
.grid-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
/* .grid-item a {
  position: absolute;
  bottom: 4rem;
  font-family: Inter;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: .48px;
  line-height: 34px;
  color: #fff;
  text-align: center;
  text-decoration: none;
  z-index: 4;
} */
.grid-link {
  position: absolute;
  bottom: 4rem;
  font-family: Inter;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: .48px;
  line-height: 34px;
  color: #fff;
  text-align: center;
  text-decoration: none;
  z-index: 4;
}
.grid-link:visited {
  color: #fff;
}
.grid-item a:hover {
  filter: brightness(90%);
}
.grid-item:hover .grid-link {
  filter: brightness(90%);
}
.grid-services .card {
  text-align: left;
  background-color: #ad916a;
  grid-column: 3 ;
  grid-row: 1 / 3;
}
.card .large-heading, .card p {
  color: #fff;
}
.card-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8rem;
  padding: 0 14rem 0 9rem;
  max-width: 594px;
  height: 100%;
}
.card .large-heading {
  font-size: 5.6rem;
}
.card .large-heading::after {
  display: flex;
  position: relative;
  content: "";
  background-color: #fff;
  height: 1px;
  width: 90px;
  top: 4rem;
}
.card p {
  font-family: 'Inter';
  font-size: 18px;
  font-weight: lighter;
  line-height: 42px;
  letter-spacing: .36px;
}

/* Testimonials - Homepage  */

.testimonials {
  padding: 6rem 0 13rem;
  background-image: url('images/pattern-left.webp'), url('images/pattern.webp');
  background-position: left, right;
  background-repeat: no-repeat, no-repeat;
}
.testimonials-container {
  display: flex;
  width: 93%;
}
.video-container {
  width: 50%;
  position: relative;
  left: 6rem;
}
.video-container .play-video img {
  width: auto;
  height: auto;
}
.play-video {
  min-width: 100px;
  max-width: 130px;
  position: relative;
  right: 50%;
  bottom: 40%;
}
.video-container .slider-control {
  display: flex;
  position: relative;
  left: 37.9rem;
  bottom: 4.5rem;
  max-width: 210px;
}
.video-container .slider-control button {
  background: #fff;
  border: none;
  padding: 2rem;
}
.text-container {
  width: 50%;
}
.text-container .small-heading {
  margin-bottom: 3rem;
}
.text-container .large-heading {
  font-size: 5.6rem;
  margin-bottom: 3.8rem;
}
.text-container img {
  margin-bottom: 2rem;
}
.text-container p {
  font-size: 18px;
  line-height: 42px;
  letter-spacing: .36px;
  margin-bottom: 2.5rem;
  color: #383838;
}
.author {
  display: flex;
  gap: 3rem;
  font-family: Inter;
  font-size: 14px;
  color: #383838;
}
.name {
  font-weight: 900;
}
.google-reviews {
  display: flex;
  justify-content: flex-start;
  max-width: 60%;
  position: relative;
  top: 4rem;
  font-size: 14px;
  padding-top: 2rem;
  border-top: 1px solid rgba(56, 56, 56, .2)
}
.google-reviews a {
  text-decoration: none;
  color: #383838;
}
.google-reviews a:visited {
  text-decoration: none;
  color: #232323;
}
.google-reviews i.icon {
  width: 13px;
  height: 12px;
}
.google-reviews span {
  margin: 0 1rem;
}
.google-reviews img {
  margin-bottom: 0;
}
.google-reviews img~span {
  text-decoration: underline;
}
.video-slider {
  display: flex;
  position: relative;
  top: 9rem;
}
.google-reviews ~ .slider-buttons {
  position: relative;
  z-index: 9;
  margin-top: 10.5rem;
}

/* Office */

.office {
  padding-bottom: 13rem;
  background-image: url('images/pattern-left.webp'), url('images/pattern.webp');
  background-position: left, right;
  background-repeat: no-repeat, no-repeat;
}
.office-slider, .office-slider ~ .slider-buttons, .office-info {
  display: none;
}
.office-row {
  display: flex;
  justify-content: center;
  gap: 4rem;
  padding: 0 6rem;
}
.office-column:nth-child(1) {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 20rem;
}
.office-column:nth-child(2) {
  text-align: center;
  display: flex;
  flex-direction: column;
  max-width: 23%;
}
.office-column:nth-child(3) {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 10rem;
}
.office-column:nth-child(1) .item-office:nth-child(1), .office-column:nth-child(1) .item-office:nth-child(2) {
  display: flex;
  flex-direction: column;
  max-width: 80%;
  align-self: end;
}
.office-column:nth-child(1) .item-office:nth-child(2) {
  max-width: 100%;
}
.office-column:nth-child(3) .item-office:nth-child(1), .office-column:nth-child(3) .item-office:nth-child(2) {
  display: flex;
  flex-direction: column;
  max-width: 80%;
}
.office-column:nth-child(3) .item-office:nth-child(2) {
  max-width: 100%;
}
.item-office img {
  filter: brightness(88%);
}
.office-title {
  position: relative;
  bottom: 5rem;
  font-family: Inter;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: .48px;
  line-height: 34px;
  color: #fff;
  text-align: center;
  text-decoration: none;
  z-index: 4;
  text-shadow: 1px 1px 0 #383838;
}
.item-office:nth-child(1) .office-title {
  transform: translateX(18%);
}
.office-title:nth-child(2) {
  transform: none;
}
.item-office figcaption {
  position: relative;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: .48px;
  color: #fff;
  bottom: 15%;
  font-family: 'Inter';
}
.office-column:nth-child(2) .item-office:nth-child(1) {
  margin-bottom: 10rem;
}
.office-column:nth-child(2) .item-office:nth-child(3) {
  text-align: center;
}
.office-text p {
  font-size: 18px;
  line-height: 2.33;
  letter-spacing: .36px;
  font-family: 'Inter';
  margin-bottom: 10rem;
}
.office-text .small-heading {
  margin-bottom: 3rem;
}
.office-text .large-heading {
  font-size: 56px;
  letter-spacing: 2.24px;
  color: #383838;
  font-weight: 500;
  margin-bottom: 4rem;
}

/* Footer */

.footer-photo img {
  filter: brightness(83%);
}
.footer-photo .info-section {
  top: 70%;
}
.footer-text {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: center;
  left: 50%;
  transform: translateX(-50%);
  top: 40%;
  color: #fff;
  width: 100%;
}
.footer-text .large-heading {
  font-size: 5.5rem;
}
footer .logo {
  all: unset;
  position: relative;
  top: 6rem;
  margin-bottom: 8.5rem;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.hours {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  color: #383838;
  font-family: 'Inter';
  font-weight: lighter;
  margin-top: 7rem;
}
.day {
  width: 170px;
  padding: 0;
  font-family: 'Inter';
  font-size: 15px;
  font-weight: 500;
  line-height: 1.67;
  letter-spacing: .6px;
}
/* .day::after, .gold::after {
  display: flex;
  position: relative;
  content: "";
  height: 35px;
  width: 1px;
  background-color: #383838;
  left: 17rem;
  bottom: 4rem;
} */
.day:nth-child(1)::after, .day:nth-child(2)::after, .day:nth-child(3)::after, .day:nth-child(4)::after, .day:nth-child(5)::after, .day:nth-child(6)::after, .gold:after {
  display: flex;
  position: relative;
  content: "";
  height: 35px;
  width: 1px;
  background-color: #383838;
  left: 17rem;
  bottom: 4rem;
}
.gold {
  width: 170px;
  color: #ad916a;
  line-height: 1.67;
  padding: 0;
  font-family: 'Inter';
  font-size: 15px;
}
.serving {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3px;
  font-size: 12px;
  letter-spacing: 2px;
  font-family: 'Inter';
  max-width: 70%;
}
.area {
  font-size: 12px;
  letter-spacing: 2px;
  font-family: 'Inter';
}
#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 0;
  text-decoration: none;
}
#menu-footer li a {
  color: #706f6f;
  font-size: 1rem;
}
#menu-footer li a:hover {
  color: #ad916a;
}
.footer-copyright {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(56, 56, 56, .2);
  height: 7.8rem;
  color: #383838;
  width: 100%;
  font-family: Inter;
  font-size: 14px;
  letter-spacing: .28px;
  padding-top: 3rem;
}
.copyright a {
  text-decoration: none;
  color: #383838;
}
.footer-icons {
  position: relative;
  display: flex;
  justify-content: space-around;
  height: 3.4rem;
  width: 3.4rem;
  /* right: 9rem; */
  right: 4rem;
  gap: 2.5rem;
}
.footer-icons i.icon {
  top: -1rem;
  height: 18px;
  width: 18px; 
}
.footer-icons .icon:before {
  content: "";
  position: absolute;
  bottom: -9px;
  left: -8px;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  border: 1px solid rgba(56, 56, 56, 0.4)
}
footer .container {
  max-width: 100%;
  padding: 0;
}
.footer-directions {
  position: relative;
  /* left: 4.2rem; */
  left: 5px;
  top: -2.4rem;
  font-size: 15px;
  line-height: 1.33;
  letter-spacing: .6px;
  color: #383838;
  font-family: Inter;
}
.footer-directions img {
  position: relative;
  top: 1.2rem;
  margin-right: 8px;
}

/* Hovers */

.nav-primary li > a:hover {
  color: #dbdbdb;
}
.sub-menu li a:hover {
  color: #383838;
}
.button:hover {
  background-color: #383838;
}
.header-icons .icon:hover, .footer-icons .icon:hover {
  filter: brightness(0) saturate(100%) invert(62%) sepia(10%) saturate(1187%) hue-rotate(355deg) brightness(94%) contrast(86%);
}
.header-directions:hover img {
  filter: invert();
}
.footer-directions:hover img {
  filter: brightness(0) saturate(100%) invert(62%) sepia(10%) saturate(1187%) hue-rotate(355deg) brightness(94%) contrast(86%);
}
.header-directions a:hover {
  color: #383838;
}
.footer-directions a:hover {
  color: #ad916a;
}
button img:hover {
  filter: brightness(0) saturate(100%) invert(59%) sepia(27%) saturate(489%) hue-rotate(355deg) brightness(95%) contrast(84%);
}
.page-content p a:hover {
  color: #383838;
}

/* Innerpage */

.innerpage .hero-text .large-heading {
  font-size: 6rem;
}
.innerpage .info-section {
  top: 67%;
}
.innerpage ~ main {
  background-color: #f5f5f5;
  background-image: url('images/innerpage-pattern-left.webp'), url('images/innerpage-pattern-right.webp');
  background-position: left, right;
  background-repeat: no-repeat, no-repeat;
}
.container.flex-row {
  padding: 10rem 0 0;
  display: flex;
  justify-content: flex-end;
  position: relative;
}
.page-content {
  width: 45.75%;
  max-width: 100%;
  padding: 2rem 0 6rem 0;
  color: #232323;
}
.sidebar {
  width: 45.25%;
  position: relative;
}
.sidebar-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7rem;
  padding: 3rem 0 2rem;
}
.sidebar-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: #fff;
  max-width: 50%;
  min-width: 39rem;
  padding: 2rem 4rem 3rem 4rem;
}
.sidebar-card:nth-child(1) {
  padding: 2rem 4rem 5rem 4rem;
}
.sidebar-card:nth-child(2) {
  padding: 2rem 4rem 6rem 4rem;
}
.sidebar-card:nth-child(3) {
  color: #fff;
  background:#ad916a;
  padding: 7rem 0 7rem 0;
}
.sidebar-card:nth-child(3) img {
  margin-bottom: 2.5rem;
}
.sidebar-card:nth-child(3) .slider-buttons img {
  filter: brightness(0) saturate(100%) invert(96%) sepia(29%) saturate(2%) hue-rotate(209deg) brightness(106%) contrast(101%);
}
.sidebar-card .small-heading {
  margin-bottom: 1.4rem;
}
.sidebar-heading {
  margin-top: 1.8rem;
  font-size: 3rem;
  font-weight: 600;
  letter-spacing: 1.2px;
  font-family: 'Montserrat';
  color: #232323;
}
.sidebar-heading a {
  color: inherit;
}
.sidebar-card .item p {
  margin: 1.4rem 0 0 0;
  font-size: 1.5rem;
  font-family: 'Roboto';
  color: #232323;
  text-align: center;
  max-width: 90%;
  margin: 0 auto;
}
.sidebar-card:nth-child(2) .sidebar-heading {
  margin-bottom: 1rem;
}
.sidebar-card:nth-child(2) .sidebar-heading a {
  text-decoration: none;
}
.sidebar-card:nth-child(2) .sidebar-heading a:hover {
  color: #ad916a;
}
.sidebar-card .slider-buttons {
  margin-top: 2rem;
}
.sidebar-card .owl-item {
  justify-content: center;
}
.innerpage-doctors-slider .sidebar-heading {
  margin-bottom: 2rem;
}
.innerpage-doctors-slider img, .innerpage-services-slider img {
  filter: brightness(90%);
}
.sidebar-card .button {
  position: relative;
  top: 6rem;
  width: 90%;
  padding: 2rem 4rem;
}
.test-content, .testimonial-author {
  font-family: 'Inter';
}
.innerpage-testimonials-slider .item p {
  font-size: 1.8rem;
  font-weight: 300;
  font-family: 'Inter';
  color: #fff;
}
.test-content {
  font-size: 1.8rem;
}
.testimonial-author {
  font-size: 1.4rem;
  margin-top: 3rem;
}
.sidebar-card .google-reviews {
  border-top: 1px solid rgba(255, 255, 255, .2);
  max-width: 100%;
}
.sidebar-card .google-reviews a {
  color: #fff;
}
.sidebar-card i.icon {
  filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(75deg) brightness(101%) contrast(104%);
}
.inner-stars {
  margin-bottom: 0!important;
  filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(75deg) brightness(101%) contrast(104%);
}
.page-content h1 {
  font-size: 5.6rem;
  line-height: 1.25;
  letter-spacing: 2.24px;
  color: #383838;
  font-weight: 500;
  font-family: 'Italiana';
  -webkit-font-smoothing: subpixel-antialiased;
}
.page-content h2, .page-content h3 {
  font-size: 1.8rem;
  font-family: 'Inter';
  color: #383838;
  font-weight: 600;
  letter-spacing: .36px;
  padding-top: 7rem;
  margin-top: 6rem;
  border-top: 1px solid rgba(35, 35, 35, 0.15)
}
.page-content p {
  font-size: 1.8rem;
  font-family: 'Inter';
  color: #383838;
  letter-spacing: .36px;
}
.page-content p:after {
  content: none;
}
.page-content ul {
  position: relative;
  padding-left: 4.8rem;
  margin-bottom: 4rem;
  font-size: 1.6rem;
  line-height: 3.2rem;
  list-style: none;
  font-family: 'Inter';
}
main ul li {
  position: relative;
}
.page-content li a {
  text-decoration: none;
  color: #ad916a;
}
.page-content li a:hover {
  color: #383838;
}
.page-content li::before {
  content: "";
  width: 2.9rem;
  height: 1px;
  position: absolute;
  left: -4rem;
  top: 1.6rem;
  background-color: rgba(35, 35, 35, 0.4)
}
.page-content p a {
  text-decoration: none;
  color: #ad916a;
}

/* Blog - Sidebar */

main ul li {
  position: relative;
}
.sidebar.blog .sidebar-card {
  gap: 4rem;
  align-items: flex-start;
}
.sidebar.blog ul {
  position: relative;
  margin-bottom: 1rem;
  font-size: 1.6rem;
  line-height: 3.2rem;
}
.sidebar.blog a {
  color: #232323;
}
.content {
  width: 45.75%;
  max-width: 100%;
  padding: 2rem 0 0 0;
  color: #232323;
}
.sidebar aside {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: #fff;
  max-width: 50%;
  min-width: 39rem;
  padding: 2rem 4rem 3rem 4rem;
  margin-bottom: 3rem;
}
.sidebar.blog {
  left: 12rem;
}
.widget-title {
  margin-top: 1.8rem;
  font-size: 2.4rem;
  font-weight: 600;
  letter-spacing: 1.2px;
  font-family: 'Montserrat';
  color: #232323;
}

/* Video Popups */

/* YouTube Popups */

.popup-overlay {
  position: fixed;
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg,rgba(173,145,106,.7) 0%,rgba(173,145,110,.7) 35%);
  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.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%;
}

/* Media Queries */

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

  #menu-main-menu {
    padding-right: 1rem;
  }
  #menu-main-menu-right {
    padding-left: 1.5rem;
  }
  #menu-main-menu, #menu-main-menu-right {
    gap: 2rem;
  }
  .nav-primary li > a {
    font-size: 11px;
    letter-spacing: 1.8px;
  }
}

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

  /* Testimonials */

  .testimonials-container {
    gap: 0;
  }
  .video-container {
    width: 45%;
  }
  .play-video {
    bottom: 30%;
  }
  .video-container .slider-control {
    left: 25.9rem;
    bottom: 4.5rem;
  }
  .testimonials-video-slider .item img {
    max-width: 465px;
    max-height: 638px;
  }
}

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

  /* Header */

  .hero-text {
    top: 45%;
  }
  .info-section {
    padding: 3rem;
  }
  .col {
    font-size: 16px;
    letter-spacing: .30px;
    gap: 1rem;
  }
  .col:nth-child(1)::after, .col:nth-child(2)::after {
    margin: 0 2rem;
  }

  /* Testimonials */

  .testimonials-container {
    width: 100%;
  }

  /* Office */

  .office-text .large-heading br, .office-text p br {
    display: none;
  }


  /* Innerpage */

  .container.flex-row {
    padding: 4rem 0 0;
  }
}

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

  /* Header */
  .logo::before, .logo::after {
    display: none;
  }

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

  .header-directions, .header-icons {
    display: none;
  }
  .logo-text {
    top: 15rem;
  }
  .menu-icon {
    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: 8rem;
  }
  .icon-color {
    fill: #fff;
  }
  .icon .bar {
    background: #fff;
  }
  header .logo {
    left: 50%;
    transform: translate(-50%, -50%);
    top: 8rem;
  }
  header .logo:after {
    content: "";
    position: absolute;
    width: 625px;
    height: 1px;
    top: 49px;
    background-color: #fff;
    left: 80px;
  }
  header .logo:before {
    content: "";
    position: absolute;
    width: 625px;
    height: 1px;
    top: 49px;
    background-color: #fff;
    right: 80px;
  }

  .col {
    font-size: 14px;
    gap: 1rem;
  }
  .button {
    padding: 3rem 2rem;
  }

  /* Doctors */

  .doctors .container {

  }
  .doctor-slider .item .doctor-img {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    top: 7rem;
  }
  .item-container {
    align-items: center;
    text-align: center;
    padding: 0 0 6rem;
  }
  .item-container .large-heading br {
    display: none;
  }
  .item-container p {
    text-align: center;
  }
  .credentials {
    display: none;
  }

  /* Services */

  .grid-item a {
    font-size: 22px;
  }
  .card-container {
    padding: 0 8rem;
    max-width: 450px;
  }
  .card-container .large-heading {
    font-size: 4rem;
  }
  .card-container p {
    font-size: 16px;
    line-height: 36px;
  }

  /* Testimonials */

  .testimonials {
    background-image: none;
    background: #f5f5f5;
    padding: 6rem 0 10rem;
  }
  .testimonials-container {
    flex-direction: column;
    align-items: center;
  }
  .video-container, .text-container {
    width: 100%;
  }
  .video-container {
    left: 0;
  }
  .testimonials-video-slider .owl-item, .testimonials-text-slider .owl-item {
    justify-content: center;
  }
  .video-container .item img:not(.play-video, .play-button) {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
  }
  .play-video {
    right: 40%;
  }
  .video-container .slider-control {
    left: 0;
    bottom: 0;
    top: 3rem;
    margin: 0 auto;
  }
  .video-container .slider-control button {
    background: none;
  }
  .text-container {
    margin-top: 10rem;
    text-align: center;
  }
  .text-container .large-heading {
    font-size: 5rem;
  }
  .text-container .item {
    width: 75%;
  }
  .text-container p {
    text-align: center;
  }
  .text-container p br {
    display: none;
  }
  .text-container .author {
    justify-content: center;
  }
  .testimonials-text-slider ~ .google-reviews {
    margin: 0 auto;
    justify-content: center;
  }
  .google-reviews {
    max-width: 80%;
  }
  .google-reviews ~ .slider-buttons {
    justify-content: center;
  }

  /* Office */

  .office {
    background-image: none;
    padding: 5rem 0 6rem;
  }
  .office-slider {
    display: block;
  }
  .office-slider .owl-item {
    justify-content: center;
  }
  .office-slider ~ .slider-buttons {
    display: flex;
    justify-content: center;
    gap: 5rem;
  }
  .office-row {
    display: none;
  }
  .office-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: 10rem;
    gap: 3rem;
  }
  .office-info p {
    font-size: 18px;
    font-family: "Inter";
    max-width: 85%;
  }
}

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

  /* Header */

  .col {
    gap: 5px;
  }
  .col img {
    width: 45px;
    height: 45px;
  }
  .col:nth-child(1)::after, .col:nth-child(2)::after {
    height: 50px;
    margin: 0 1rem;
  }

  .info-section .button {
    font-size: 10px;
    padding: 2.5rem 2rem;
    letter-spacing: 1.2px;
  }

  /* Services */

  .services-text .large-heading {
    font-size: 5.5rem;
  }
}

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

  /* Header */

  .hero-video {
    display: none;
  }
  .home .hero .pic-wrap picture img {
    display: block;
  }
  
  .hero-text {
    top: 48%;
  }
  .hero-text .large-heading {
    font-size: 5.5rem;
  }
  .info-section {
    max-width: 86%;
    padding: 6rem;
    top: 77%;
  }
  .info-section .col {
    display: none;
  }
  .info-section .button {
    font-size: 11px;
    padding: 3rem 5rem;
    letter-spacing: 2.2px;
  }

  /* Slider Buttons */
  
  .slider-buttons {
    gap: 5rem;
  }

  /* Services */

  .services-text {
    position: relative;
    padding: 5rem 0 8rem 0;
    color: #383838;
    background-color: #f5f5f5;
  }
  .services-text .large-heading {
    font-size: 5.5rem;
  }
  .services-text .large-heading br {
    display: none;
  }
  .grid-services {
    display: none;
  }
  .services-slider {
    display: block;
  }
  .services-slider ~ .slider-buttons {
    display: flex;
    gap: 5rem;
  }
  .services-slider .owl-item {
    justify-content: center;
  }
  .services-slider .item img {
    filter: brightness(90%);
  }
  .services-slider-container {
    margin: 0 auto;
  }
  .services-title {
    position: relative;
    bottom: 12rem;
    font-family: Inter;
    font-size: 28px;
    font-weight: 500;
    letter-spacing: .48px;
    line-height: 1.42;
    color: #fff;
  }
  .services-slider ~ .slider-buttons {
    margin-top: 0;
  }

  /* Testimonials */
  
  .video-container .slider-control button {
    padding: 0;
  }
  .video-container .slider-control {
    justify-content: center;
    gap: 5rem;
  }
  .slider-buttons button {
    padding: 0;
  }

  /* Footer */

  .footer-photo {
    padding-top: 2rem;
    background: #f5f5f5;
  }
  .footer-photo .info-section {
    position: relative;
    top: 50%;
    bottom: 5rem;
    background: none;
  }
  .footer-text {
    position: relative;
    color: #383838;
    background: #f5f5f5;
  }
  .footer-text .large-heading {
    font-size: 5rem;
    max-width: 67%;
    margin: 0 auto;
    padding: 5rem 0 8rem;
  }
  .hours {
    gap: 1rem;
  }
  .day:nth-child(1)::after, .day:nth-child(2)::after, .day:nth-child(3)::after, .day:nth-child(4)::after, .day:nth-child(5)::after, .day:nth-child(6)::after, .gold:after {
    display: none;
    position: relative;
    content: "";
    height: 35px;
    width: 1px;
    background-color: #383838;
    left: 17rem;
    bottom: 4rem;
  }
  #menu-footer {
    margin: 4rem 0 7rem;
  }
  .footer-directions {
    position: absolute;
    top: auto;
    bottom: 10rem;
    left: 4.2rem;
  }
  .copyright {
    margin: 0 auto;
  }
  .footer-icons {
    position: absolute;
    bottom: 8rem;
    right: 9rem;
  }

  /* Innerpage */

  .innerpage .info-section {
    position: relative;
    top: 70%;
    max-width: 80%;
    padding: 5rem;
  }
  .innerpage .hero-container {
    left: 0;
  }
  .container.flex-row {
    flex-direction: column;
    align-items: center;
  }
  .sidebar {
    max-width: 80%;
  }
  .content {
    max-width: 100%;
    padding-right: 0;
    width: 82%;
  }
  .sidebar.blog {
    left: 0;
  }
}

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

  /* Header */

  .logo img {
    width: 95px;
    height: 82px;
  }
  .logo-text {
    max-width: 80%;
  }
  header .logo:before, header .logo:after {
    top: 42px;
  }
  .hero-text .large-heading,  .services-text .large-heading, .footer-text .large-heading {
    font-size: 4rem;
  }
  .info-section {
    position: relative;
  }
  .hero-text {
    position: unset;
    transform: none;
    padding-top: 3rem;
    margin: 0 auto;
    color: #383838;
  }
  .info-section .appointment {
    position: absolute;
  }
  .info-section .appointment .button {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    width: 100%;
  }
  .hero-text {
    top: 65%;
  }
  .hero-text p {
    width: 85%;
    margin: 0 auto;
    line-height: 2;
  }
  .hero-text p br {
    display: none;
  }

  /* Doctors */

  .doctor-slider .item .doctor-img {
    top: 4rem;
  }
  .item-container {
    margin-top: 7rem;
  }
  .doctors .large-heading {
    font-size: 4.6rem;
    max-width: 90%;
    text-align: center;
  }
  .doctor-slider .item-container {
    padding: 0 0 2rem;
  }
  .item-container .button {
    width: 35%;
  }
  .item-container p {
    max-width: 85%;
  }
  .item-container p br {
    display: none;
  }

  /* Services */

  .services {
    padding-top: 0;
  }
  .services-text .large-heading {
    max-width: 90%;
    margin: 0 auto;
  }
  .services-slider .item img {
    max-width: 85%;
  }

  /* Testimonials */

  .testimonials {
    padding: 6rem 0 4rem;
  }
  .text-container {
    margin-top: 6rem;
  }
  .text-container .large-heading {
    font-size: 4.6rem;
    max-width: 85%;
    margin: 0 auto 3.8rem auto;
  }
  .text-container .large-heading br {
    display: none;
  }
  .text-container .large-heading {
    font-size: 3.6rem;
  }

  /* Office */

  .office {
    padding: 5rem 0 4rem;
  }
  .office-slider .item img {
    max-width: 85%;
  }
  .office-info {
    margin-top: 6rem;
  }
  .office-info p {
    font-size: 16px;
  }
  .office .large-heading {
    font-size: 3.6rem;
  }


  /* Footer */

  .footer-photo .info-section {
    bottom: 5rem;
    background: none;
  }
  .footer-text .large-heading {
    max-width: 80%;
    padding: 4rem 0 6rem;
    font-size: 3.6rem;
  }
  .footer-text .large-heading br {
    display: none;
  }
  .logo ~ img {
    max-width: 80%;
  }
  .serving {
    margin-top: 2rem;
    font-size: 11px;
  }
  .area {
    font-size: 11px;
  }

  /* Innerpage */

  .container.flex-row {
    padding: 2rem 0 0;
  }
  .page-content img {
    margin-top: 2rem;
  }
  .page-content h2 {
    margin-top: 4rem;
    padding-top: 5rem;
  }
}

#field_5_12 {
  grid-column: span 5!important;
}

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

  /* Testimonials */

  .video-container .item img:not(.play-video, .play-button) {
    left: 0;
    transform: none;
    max-width: 95%;
  }
  .play-video {
    right: 0;
    bottom: 50%;
  }
  .video-container .slider {
    max-height: 600px;
  }


  /* Footer */

  .office-info .large-heading br, .office-info p br {
    display: none;
  }

  /* Innerpage  */

  .page-content h1 {
    font-size: 3.6rem;
  }
}

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

  /* Header */

  .menu-icon {
    top: 5rem;
    left: 3rem;
  }
  .phone-icon {
    top: 6.5rem!important;
  }
  header .logo {
    top: 7rem;
  }
  .logo-text {
    top: 12rem;
  }
  .hero-text {
    top: auto;
    z-index: 2;
    background: #fff;
    color: #383838;
  }
  .hero-text .large-heading {
    font-size: 3.5rem;
  }
  .hero-text p {
    font-size: 1.6rem;
    width: 85%;
    margin: 0 auto;
  }
  .hero-text p br {
    display: none;
  }

  /* Doctors */

  .doctor-slider .item .doctor-img {
    height: 400px;
  }
  .doctors .large-heading {
    font-size: 3.6rem;
  }
  .item p {
    font-size: 16px;
  }
  .item-container .button {
    width: 55%;
  }

  /* Services */

  .services-text {
    padding: 5rem 0 4rem 0;
  }
  .services-text .large-heading {
    font-size: 3rem;
  }
  .services-heading {
    padding: 5rem 0;
  }
  .services-heading .large-heading {
    font-size: 3.6rem;
  }
  .services-title {
    font-size: 20px;
    bottom: 7rem;
  }

  /* Testimonials */

  .testimonials-text-slider p {
    line-height: 2;
  }
  .video-container .slider {
    max-height: 470px;
  }

  /* Footer */

}