/*
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;
}
}
*/
/* Fix for navigation theme conflict */
header.modal__header,
#contact_form_modal > div > div > div,
#mobile_menu_modal {
  display: none;
}
/*
**  ATF Modal
*/
#modal-link {
  display: none;
}
#i73 #modal-link {
  display: inline-block;
}
/* #i73 > div.module-content > div > div > div > div > div > div > div > div.fold-slide-text.align-left {
  top: 50%;
  left: 15%;
  width: 71%;
  height: 97%;
} */
#i73
  > div.module-content
  > div
  > div
  > div
  > div
  > div
  > div
  > div
  > div.fold-slide-text.align-left
  > a:nth-child(3) {
  display: none;
}
/* Video Modal
-----------------------------------------*/
.video-modal,
.video-modal .overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 3000;
}
.video-modal {
  /* overflow: hidden; */
  position: fixed;
  opacity: 0;

  -webkit-transform: translate(500%, 0%);
  transform: translate(500%, 0%);

  -webkit-transition: -webkit-transform 0s linear 0s;
  transition: transform 0s linear 0s;

  /* using flexbox for vertical centering */

  /* Flexbox display */
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;

  /* Vertical alignment */
  -webkit-box-align: center;
  -moz-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;

  -webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
  transform-style: preserve-3d;
}
.video-modal .overlay {
  z-index: 0;
  background: rgba(13, 1, 61, 0.82); /* overlay color */

  opacity: 0;

  -webkit-transition: opacity 0.2s ease-out 0.05s;
  transition: opacity 0.2s ease-out 0.05s;
}
.video-modal-content {
  position: relative;
  top: auto;
  right: auto;
  bottom: auto;
  left: auto;
  z-index: 1;

  margin: 0 auto;

  overflow-y: visible;

  /* background: #000; */

  width: calc(100% - 12em);
  height: 0;
  padding-top: calc((100% - 12em) * 0.5625); /* 16:9 calc */
}
input[name="RepeatEmailName"] {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  height: 0;
  width: 0;
  z-index: -1;
}
/* Scaling to fit within the current Viewport size:
   When viewport aspect ratio is greater than 16:9
   work off the height instead of the width for calc */
@media (min-aspect-ratio: 16/9) {
  .video-modal-content {
    width: 0;
    height: 75vh;
    padding-top: 0;
    padding-left: calc((100vh - 10em) * 1.7778); /* 16:9 calc */
  }
}
/* Mobile Layout Tweaks - side margins reduced */
@media (max-width: 640px) {
  .video-modal-content {
    width: calc(100% - 1em);
    padding-top: calc((100% - 1em) * 0.5625); /* 16:9 calc */
  }
}
/* modal close button */
.close-video-modal {
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 10000;
  text-decoration: none;
  font-size: 20px;
  font-weight: bold;
  /* color: #000; */
}

/* set the iframe element to stretch to fit its parent element */
iframe#youtube {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;

  /* background: #000; */
  box-shadow: 0px 2px 16px rgba(0, 0, 0, 0.5);
}

/* show the modal: 
   add class to the body to reveal */
.show-video-modal .video-modal {
  opacity: 1;

  transform: translate(0%, 0%);
  -webkit-transform: translate(0%, 0%);
}
.show-video-modal .video-modal .overlay {
  opacity: 1;
}
.show-video-modal .video-modal-content {
  transform: translate(0%, 0%);
  -webkit-transform: translate(0%, 0%);
}
.carousel_3 h2,
.carousel-item p {
  color: #333;
}
.header-style-e .header-logo .logo img {
  height: auto !important;
}
#panel-main > span {
  display: none;
}
.slick-slide img {
  margin-top: 1em;
  /* box-shadow: 0 0 3px 1px #9b9791; */
}
.insta {
  margin: 10px 4px 0 !important;
}
#i83 > div > div > h2 {
  padding: 30px 0 0;
}
.static_image_split-paragraph p {
  color: #333;
}
.static_image_split-contact .btn {
  background: #060606;
}
@media (min-width: 1200px) {
  .header-style-e .header-logo .logo img {
    height: 145px !important;
  }
  .header-style-e .header-logo {
    top: 0px !important;
  }
  .scrolled > header > div.header-top > ul > li:nth-child(3),
  .scrolled > header > div.header-top > ul > li:nth-child(4),
  .scrolled > header > div.header-top > ul > li:nth-child(5) {
    display: none;
  }
  #i114 > div > div:nth-child(2) {
    display: flex;
    justify-content: center;
  }
  #i110,
  #i108,
  #i112 {
    margin-top: -12rem;
  }
  #i112 > div > div,
  #i108 > div > div {
    max-width: 900px;
  }
  #i108 > div > div > div.static_blocks_list-left.block-set,
  #i110 > div > div > div.static_blocks_list-left.block-set {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  #i110 > div > div > div.static_blocks_list-left.block-set {
    flex-wrap: nowrap !important;
  }
  #i110 > div > div {
    max-width: none !important;
  }
  #i110 > div > div,
  #i112 > div > div {
    width: 45%;
  }
  #i1102 > div > div > div.static_blocks_list-left.block-set {
    flex-wrap: nowrap !important;
  }
  #i112 > div > div {
    max-width: none !important;
  }
  #i112 > div > div {
    width: 45%;
  }
  #i112 > div > div > div.static_blocks_list-left.block-set > a:nth-child(4) {
    margin-left: 2%;
  }
  #i110 > div > div > div.static_blocks_list-left.block-set > a:nth-child(4) {
    margin-left: 2%;
  }
  #i112 > div > div > div.static_blocks_list-left.block-set {
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
  }
  #i118 {
    padding-top: 3rem;
  }
  #i108 > div > div > div.static_blocks_list-left.block-set > a {
    padding-bottom: 302px;
  }
  #i108 > div > div > div.static_blocks_list-left.block-set > a {
    width: 23% !important;
    padding-bottom: 26% !important;
    margin-right: 2%;
  }
}

@media (max-width: 1480px) {
  .header-style-e .header-logo .logo img {
    height: 117px !important;
  }
}
@media (max-width: 767px) {
  .static_image_split-content h2 {
    font-size: 19px;
  }
  h2.headline-skinny {
    text-align: center !important;
    font-weight: 500;
  }
  #i81 > div > div > h2 {
    font-size: 25px;
  }
  .static_image_split .static_image_split-content * {
    text-align: center;
  }
  .footer-column .logo {
    max-width: none;
  }
  .blog_columns-post span.meta,
  .header-style-e .mobile-nav a {
    font-size: 16px;
  }
  .new-headline {
    font-size: 34px !important;
  }
  body
    > div.page-wrap
    > div:nth-child(2)
    > div
    > form
    > div:nth-child(19)
    > div:nth-child(6)
    > label {
    font-size: 13px;
  }
  #form-logo > img {
    width: 190px;
  }
}
@media (max-width: 414px) {
  #i81 > div > div > h2 {
    font-size: 26px;
    padding: 30px 0% 0;
  }
  #i76 > div > div:nth-child(1) > h2 {
    font-size: 27px;
  }
  #i82 > div.module-content > div > h2 {
    font-size: 35px;
  }
  .fold-slide-text h2,
  #i73
    > div.module-content
    > div
    > div
    > div
    > div
    > div
    > div
    > div
    > div.fold-slide-text.align-left
    > p.single_title {
    font-size: 35px !important;
  }
  #i73
    > div.module-content
    > div
    > div
    > div
    > div
    > div
    > div
    > div
    > div.fold-slide-text.align-left
    > p.single_title {
    margin-bottom: 0;
  }
  .carousel_3 {
    padding-bottom: 6px;
  }
  #i83 > div > div > h2 {
    font-size: 30px;
  }
  #i89 > div.module-content > h2 {
    font-size: 22px;
  }
}
.header-style-e .invert .header-top .schedule {
  border: 2px solid #9e8554;
}
.header-style-e .invert .header-top .schedule:hover {
  background-color: #9b8251;
}
.header-style-e .mega .sub-menu .item a {
  background-color: #fff;
}
.header-style-e .invert .large-nav .sub-menu .item a {
  color: #333 !important;
}
.header-style-e .large-nav .mega ul,
.header-style-e .large-nav > div > ul > li > ul {
  background-color: #fff;
}
.header-style-e .invert .large-nav .sub-menu .item a:hover {
  color: #9e8554 !important;
}
#i86
  > div
  > div
  > div
  > div
  > div
  > div
  > div
  > div
  > div.fold-slide-text.align-right
  > a {
  border: 2px solid #9e8554;
  background-color: #fff;
  color: #9e8554;
}
.btn.solid:hover {
  transform: scale(1.05);
  background-color: #938554 !important;
  color: #fff !important;
}
#i87 > div.module-content > div > div.static_image_content-right > a {
  background-color: #938554 !important;
  color: #fff;
}
#i87 > div.module-content > div > div.static_image_content-right > a:hover {
  background-color: #877148;
}
#i85 > div.module-content > div > div.reviews_google-buttons > a:nth-child(2) {
  background: #000;
}
.footer-right .btn {
  background: #000;
  color: #fff;
  border-color: transparent;
}
.footer-bottom {
  background-color: #000 !important;
}
.header-style-e .large-nav > div > ul > li > ul {
  background: #fff;
}
aside {
  background-color: #fff;
}

aside h3 {
  color: #333;
}
aside.widget_blog a {
  color: #333;
}
aside.widget_blog,
aside#gallery-3 {
  border: 1px solid rgba(0, 0, 0, 0.1);
}
#slick-slide01 > div > a > img {
  box-shadow: none;
}
.cvt-content p {
  font-size: 16px;
}
.carousel-item p,
.static_embed p,
.fold-slide-text p,
.g-panel-detail p,
.g-customer-excerpt,
.blog_columns-post span.meta {
  font-size: 16px;
}
.custom-video-testimonials.grid-padding .cvt-block-square p {
  font-size: 16px;
}
.scrolled.header-style-e .header-bottom {
  top: 108px;
  left: 319px;
}
@media (max-width: 1480px) {
  .scrolled.header-style-e .header-top > ul > li.new-phone,
  .scrolled.header-style-e .header-top > ul > li:nth-child(2) {
    display: none;
  }
  .scrolled.header-style-e .header-bottom {
    top: 108px;
    left: 319px;
  }
}
@media (max-width: 1199px) {
  .scrolled.header-style-e .header-bottom {
    top: 0px;
    left: auto;
  }
}
.header-style-e #sidr-left ul ul a {
  background-color: #9e8554;
}

.new-headline {
  font-size: 44px;
  display: block;
  box-sizing: border-box;
  line-height: 112%;
  font-weight: 300;
  color: #9e8554;
  text-transform: none;
}
.gold-excerpt {
  color: #9e8554 !important;
  font-family: Raleway;
  line-height: 1.1;
  font-size: 1.17em;
  margin: 0;
  font-weight: bold;
}
.excerpt {
  font-family: Raleway;
  font-size: 1.5em;
  margin: 0.83em 0;
  margin-top: 0;
  margin-bottom: 0;
  font-weight: bold;
}
.page-head.no-img-bg .breadcrumbs a,
.breadcrumbs span {
  font-size: 16px;
}
#i73
  > div.module-content
  > div
  > div
  > div
  > div
  > div
  > div
  > div
  > div.fold-slide-text.align-left
  > p.single_title {
  margin-bottom: 0;
}
.g-panel-detail p {
  /* margin: 3px px 0 4px; */
  font-size: 16px;
  font-weight: 700;
  color: #dd4c39;
}
.header-style-e .header-logo .logo img {
  position: relative;
  z-index: 0;
}
.header-bottom {
  z-index: 999;
}
.scrolled > header > div.header-top > ul > li.new-phone {
  display: none;
}
.sbi_photo img {
  display: none !important;
}

/* endo referral page */
label.ref-label {
  font-weight: bold;
}
.dentist-form {
  background: #f8f5f5;
  padding: 2rem 2rem 1rem 2rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
  margin-bottom: 3rem !important;
}
.dentist-form {
  padding-top: 1rem;
}
.required {
  color: red;
  font-size: 16px;
  font-weight: bold;
}
.checkbox-input {
  width: auto !important;
  margin-right: 5px !important;
}
.checkbox-container {
  flex-wrap: nowrap;
  display: flex;
}
body
  > div.page-wrap
  > div:nth-child(2)
  > div
  > form
  > div:nth-child(21)
  > div:nth-child(2) {
  margin-top: 1rem;
}
.other-text {
  color: #5a4a29 !important;
  margin-top: 0;
}
.btn-box {
  text-align: center;
  margin-top: 2rem;
}
p,
ul,
ol,
label {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
}
div#form-logo {
  margin-bottom: 1rem;
}
body > div.page-wrap > div:nth-child(2) > div > form > div.btn-box > button {
  width: 40% !important;
}
body
  > div.page-wrap
  > div:nth-child(2)
  > div
  > form
  > div:nth-child(19)
  > div:nth-child(13)
  > label {
  margin-left: 8px;
}
#fileUploadAttachment {
  font-weight: normal !important;
  text-transform: none;
  /* font-size: 14px; */
}
.page-id-1498 .page-wrap:after {
  content: "";
  position: fixed;
  top: 68px;
  height: 100vh;
  left: 0;
  right: 0;
  z-index: -1;
  background: url("https://www.hamiltondentallv.com/wp-content/uploads/2025/05/GettyImages-832154068.jpg")
    center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}
#i117 > div > div > div > div > div > div > div > div > img {
  display: none;
}
#i117 > div > div > div > div > div > div > div > div {
  background-image: none !important;
}
.fold_slider {
  padding: 0;
}
#i117 {
  background: transparent !important;
}
#i120 > div > div > div > h3 {
  color: #333;
}
#i120 > div > div > div > h3 > span {
  color: #9e8554;
}
.footer-top {
  background: #fff;
}
#i120 > div > div > div > a {
  background-color: #333;
}
#i113 > div > h2 {
  color: #333 !important;
}
#i113 > div > div > div > a {
  background-color: #333 !important;
}
