/*
Theme Name: Codebase Child
Author: Dental Revenue
Author URI: https://www.dentalrevenue.com
Template: codebase-2
Version: 1.0.0
*/

/* scroll up slider effect */
/*
.home .page-wrap{z-index: 1;}
#i1{position: fixed;top:44px;left: 0;width: 100%;}
#i11{margin-top: 915px;}
.scrolled #i1 {top: -40px;}
.home footer{position: relative;background-color: #fff;}
*/

/* gallery scroll v2
.slick-dots {
    padding: 0px;
    border-radius: 3px;
    display: inline-block;
    border: 0;
    list-style: none;
    box-shadow: none;
    margin: 0;
    transition: transform 0.3s ease-in-out;
}
.slick-dots-holder {
    text-align: center;
}
.slick-dots:hover {
    transform: none;
    box-shadow: none;
}
.g-scroll-slide {
    display: block!important;
    float: left;
}
.gallery-left {
    width: 300px;
    float: left;
    margin-right: 30px;
    padding-right: 30px;
    border-right: 1px solid rgba(0,0,0,0.1);
    box-sizing: border-box;
}
.gallery-left img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 300px;
}
.gallery-right {
    overflow: hidden;
}
.gallery-right img:first-child {
    margin-left: 0;
}
.gallery-right img {
    display: block;
    width: 49%;
    height: auto;
    float: left;
    margin: 0 0 20px 2%;
}
.slick-slide img {
    display: block;
}
#slick-arrows-holder>i {
    font-size: 25px;
    margin: auto 30px;
}
#slick-arrows-holder {
    margin-top: 15px;
	text-align: center;
	margin-bottom: 30px;
}
@media (max-width: 600px) {
.gallery-left {
    width: 100%;
    text-align: center;
    margin-right: 0;
    padding-right: 0;
    border: 0 none;
}
.gallery-left img {
    float: none;
    display: inline-block;
    margin: 0;
}
.gallery-right {
    width: 100%;
    text-align: center;
}
}
@media (max-width: 480px) {
.gallery-right img:first-child {
    margin-left: 0 !important;
}
.gallery-right img {
    display: block;
    margin: 0 0 30px 2% !important;
    width: 49%;
    height: auto;
    float: left;
}
}
*/
.header-style-e .header-logo .logo img {
  top: -5px;
  max-height: none;
  width: 356px;
  max-width: none;
}
@media (min-width: 1200px) {
  .header-style-e .header-top ul > li:first-child {
    margin-right: 0 !important;
  }
  #picture-grid {
    width: 713px !important;
  }
  .home.header-style-e .page-wrap {
    margin-top: 0px;
  }
  .header-style-e header {
    background: rgb(255 255 255 / 0%);
  }
  .scrolled.header-style-e header {
    background: #000;
  }
  .scrolled > header > div.header-top > ul > li:nth-child(4),
  .scrolled > header > div.header-top > ul > li:nth-child(5),
  .scrolled > header > div.header-top > ul > li:nth-child(6) {
    display: none;
  }
  .scrolled.header-style-e .header-top {
    right: 5px;
  }
  body > header > div.header-top > ul > li:nth-child(2) {
    display: none;
  }
  .scrolled > header > div.header-top > ul > li:nth-child(1) {
    display: none;
  }
  .fold-slide-text {
    max-width: none;
  }
  #i69 > div > div > div.static_blocks_list-left.block-set > a {
    width: 24%;
    margin: 2px;
  }
  #i69 > div > div > div.static_blocks_list-left.block-set {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  #i69 > div > div {
    max-width: none;
  }
  /* hover image effect */
  #i69 .block:first-child:hover {
    background-image: url("/wp-content/uploads/2024/06/box-1-c.jpg") !important;
  }
  #i69 .block:nth-child(2):hover {
    background-image: url("/wp-content/uploads/2024/06/box-c.png") !important;
  }
  #i69 .block:nth-child(3):hover {
    background-image: url("/wp-content/uploads/2024/06/box-3-c.png") !important;
  }
  #i69 .block:nth-child(4):hover {
    background-image: url("/wp-content/uploads/2024/06/box-4-c.png") !important;
  }
  #i69 .block:nth-child(5):hover {
    background-image: url("/wp-content/uploads/2024/07/botox-color.png") !important;
  }
  #i69 .block:nth-child(6):hover {
    background-image: url("/wp-content/uploads/2024/07/invis-colo.jpg") !important;
  }
  .scrolled.header-style-e .header-bottom {
    left: 160px;
  }
  .cvt-block-square {
    margin: 2px;
  }
  #i74 > div > div {
    margin-top: 2px;
  }
  #i81
    > div
    > div
    > div
    > div
    > div
    > div
    > div
    > div
    > div.fold-slide-text.align-center {
    top: 52% !important;
  }
  #i82 > div > section > #left-side {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.2);
  }
  #i82 > div > section > #left-side > div {
    background-color: transparent !important;
    padding: 0 2rem !important;
  }
  #i82 > div > section > #left-side > div {
    text-align: center;
    display: block !important;
  }
}

#picture-grid {
  display: grid;
  margin: 0 auto 2em;
  grid-template-columns: 1fr;
}
.headshot-image {
  width: 250px !important;
}
.headshot-image {
  height: auto !important;
  width: 100% !important;
  max-height: none;
  max-width: 100%;
}

@media (max-width: 1630px) {
  .header-style-e .header-logo .logo img {
    top: -5px;
    max-height: none;
    width: 229px !important;
    max-width: none;
  }
}

@media (max-width: 1199px) {
  .header-logo .logo img,
  .header-style-b .header-logo .logo img {
    max-width: 80% !important;
    position: absolute !important;
    top: 50% !important;
    left: 50%;
  }
  .header-style-e .header-top {
    height: 138px;
    background: #000;
  }
  #i81
    > div
    > div
    > div
    > div
    > div
    > div
    > div
    > div
    > div.fold-slide-text.align-center {
    display: none;
  }
  #i81 > div > div {
    height: 42vh !important;
  }
}
@media (max-width: 767px) {
  .cvt-block.cvt-block-square {
    margin-bottom: 8px;
  }
  #i68 > div {
    padding-bottom: 1rem !important;
  }
  #i85
    > div
    > div
    > div
    > div
    > div:nth-child(3)
    > div
    > div
    > div
    > div.fold-slide-text.align-center
    > p.subtitle {
    margin-bottom: 0 !important;
  }
  #i85 > div,
  #i69 {
    padding-bottom: 0 !important;
  }
  #i81 > div > div > div > div > div > div > div > div {
    height: auto !important;
  }
  #i81 > div > div {
    height: auto !important;
  }
  .block {
    padding-bottom: 130%;
  }
  #i69 > div,
  #i70 > div,
  #i73 > div.module-content,
  #i71 > div.module-content,
  #i71,
  #i67,
  #i82 {
    padding-bottom: 0 !important;
  }
  #i70 > div > div > div > h2 {
    margin-top: 0 !important;
  }
  #i81 > div {
    padding-bottom: 2rem !important;
  }
  #i71 > div > section > #right-side > div {
    margin-top: 0 !important;
    margin-bottom: 1rem;
  }
  
  #i82 > div > section > #left-side > div {
    margin-top: 0 !important;
  }
  #i87 > div,
  #i67 > div.module-content {
    padding-bottom: 1rem !important;
  }
  #i74 > div {
    padding-top: 0 !important;
  }
  .module-content {
    padding: 0 !important;
  }
  
  #i78 > div > section > #right-side > div {
    margin: 0 !important;
    padding: 0 !important;
    padding-bottom: 1rem !important;
  }
  #i78 {
    padding-bottom: 0 !important;
  }
  .sis-container .sis-side .text-container p {
    text-align: left !important;
  }
  p.title {
    font-size: 32px !important;
  }
  #picture-grid {
    grid-template-columns: 1fr;
  }
  p.title {
    font-size: 25px !important;
    margin-bottom: 8px !important;
  }
  p.subtitle.single_title {
    font-size: 22px !important;
  }
  .rte h2 {
    font-size: 20px;
  }
  p.footer-msg {
    text-align: center;
  }
  .footer-column .contact-option.company-hours .hour-set {
    display: block;
  }
}
.header-style-e .mobile-nav a,
.header-style-e .mobile-nav a:hover {
  color: #fff;
}
i.fas.fa-bars {
  color: #a2d227;
}

body:not(.home) .invert .large-nav > div > ul > li > a {
  color: #000;
}
.scrolled:not(.home) .invert .large-nav > div > ul > li > a {
  color: #fff;
}
body:not(.home) .invert .header-top .new-phone span {
  color: #000;
}
body:not(.home) .invert .header-top li {
  color: #000;
}
body:not(.home) .invert .header-top .schedule {
  border-color: #000;
}
body:not(.home) .invert .header-top .schedule:hover {
  background: #000;
  color: #fff;
}
.scrolled > .invert .large-nav > div > #menu-menu > li:nth-child(7) > a {
  display: none;
}

#i86 {
  background: transparent !important;
}

#i86 > div.module-content > div > div > div > div > div > div > div > img {
  display: none;
}
#i86 > div.module-content > div > div > div > div > div > div > div {
  background-image: none;
}
#i86 > div.module-image > img {
  display: none;
}
.home .page-wrap:after {
  content: "";
  position: fixed;
  top: 0;
  height: 100vh;
  left: 0;
  right: 0;
  z-index: -1;
  background: url("/wp-content/uploads/2023/04/Premier-bg.jpg") center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

/* hr animation */
.animated-hr {
  opacity: 0; /* Start invisible */
  width: 0%; /* Start with no width */
  transition: opacity 0.5s ease-out; /* Transition for fade-in */
  background: #a2d227 !important;
}

.animated-hr.visible {
  opacity: 1; /* Fully visible */
  width: 100%; /* Full width */
  transition: opacity 0.5s ease-out, width 2s ease-out; /* Transition for fade-in and width */
}

.sbi_photo img {
  display: none !important;
}
#i81
  > div
  > div
  > div
  > div
  > div
  > div
  > div
  > div
  > div.fold-slide-text.align-center
  > a {
  border-radius: 50%;
  width: 80px;
  height: 80px;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 19px;
  margin: 0 auto;
  padding-left: 6px;
}
#i81
  > div
  > div
  > div
  > div
  > div
  > div
  > div
  > div
  > div.fold-slide-text.align-center {
  display: grid;
  place-items: center;
}
p.footer-msg {
  font-size: 12px;
  padding: 0;
}
.headshot-grid .grid-patient {
  aspect-ratio: auto !important;
  width: 45% !important;
}
@media (max-width: 767px) {
  .headshot-grid .grid-patient {
    width: 80% !important;
  }
}
#sb_instagram .sbi_photo {
  padding-bottom: 0 !important;
}
.testimonial-text p {
    font-size: 16px !important;
}