/*
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;
}
}
*/
.large-nav > div > ul > li > a,
.new-phone {
  color: #333 !important;
}
.header-style-e .header-top .schedule {
  background: #333;
}
.header-style-e .header-top .schedule:hover {
  background-color: #f7ce3f;
  color: #333;
}
.cvt-content {
  border-top: 1.3px solid #f7ce3f;
}
#i60 > div > div > div.static_photo_list-text > h2 {
  font-size: 32px;
}
#i55 > div.module-content > div:nth-child(1) > h2 {
  font-size: 29px;
}
/* fix for overlap for current patient number in mobile nav */
.header-style-e .mobile-nav .drop-content p span a {
  display: inline;
  border-top: none;
}
.header-style-e .drop-content p {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.header-style-e .contact-dropdown {
  width: 100%;
}
#i51 > div > div > div.cvt-block.static {
  display: none;
  background: none;
}
#i50
  > div.module-content
  > div
  > div
  > div
  > div
  > div
  > div
  > div
  > div.fold-slide-text.align-center {
  position: relative;
  width: 90%;
}
#i50 > div.module-content > div {
  height: 80vh;
}
#i51 {
  position: relative;
  top: -195px;
  /* z-index: 1000; */
  width: 80%;
  margin: 0 auto;
  background: #fff !important;
}
#i52 {
  margin-top: -12em;
}
#i49
  > div
  > div
  > div.static_image_split-right
  > div.static_image_split-contact,
.static_image_split-content h2:after,
.fold-slide-text h2:after,
body
  > div.page-wrap
  > footer
  > div.footer-top
  > div
  > div.footer-left.google-map-container,
body
  > div.page-wrap
  > footer
  > div.footer-top
  > div
  > div.footer-right
  > div:nth-child(2)
  > div:nth-child(1) {
  display: none;
}
.invert .btn.solid {
  background-color: #f7ce3f;
  color: #333;
  font-weight: 800;
}
.fold-slide-text h2 {
  font-weight: 600;
}
#i50
  > div
  > div
  > div
  > div
  > div
  > div
  > div
  > div
  > div.fold-slide-text.align-center
  > h2 {
  padding-bottom: 0.2em;
  font-size: 80px;
  font-family: "Open Sans";
  font-weight: 500;
}
#i49
  > div
  > div
  > div.static_image_split-right
  > div.static_image_split-content
  > h2 {
  text-align: center;
}
#i49
  > div
  > div
  > div.static_image_split-right
  > div.static_image_split-content
  > h2 {
  text-align: center;
  max-width: 100% !important;
}
#i49
  > div.module-content
  > div
  > div.static_image_split-right
  > div.static_image_split-content
  > h2 {
  color: #333;
}
.footer-top .footer-right {
  width: 100%;
  margin: 0 auto !important;
  padding-left: 0;
  float: none !important;
  display: flex;
  justify-content: center;
  align-items: normal;
}
.footer-top .footer-column:first-child {
  width: auto;
}
.footer-column .contact-option {
  display: inline-block;
}
.footer-top .footer-column {
  width: auto;
  text-align: center;
}
.footer-top .footer-column:nth-child(3) {
  width: auto;
}
.footer-column .logo {
  margin-right: 2em;
}
.footer-top > div > div.footer-right > div:nth-child(3) > div {
  margin-left: 1em;
}
body
  > div.page-wrap
  > footer
  > div.footer-top
  > div
  > div.footer-right
  > div:nth-child(2)
  > a {
  display: inherit;
}
#i52 h2 {
  font-size: 46px !important;
}
#i52 .fold-slide-text.align-center {
  background: rgba(0, 0, 0, 0.2);
  padding: 1em;
}
#i55 > div.module-content > div:nth-child(1) > h2 {
  padding: 37px 5% 29px;
}
#i60 > div > div > div.static_photo_list-left > img {
  display: none;
}
.slick-prev,
.slick-next {
  display: none !important;
}
#i60 > div > div > div.static_photo_list-right > div > p:nth-child(1),
#i60 > div > div > div.static_photo_list-right > div > p:nth-child(2),
#i60 > div > div > div.static_photo_list-right > ul {
  color: #fff;
}
#gallery-4 > a {
  display: none;
}
.slick-dots li {
  margin-bottom: 5px;
}
.fold-slide-text p {
  font-size: 14px;
}
/* ========================= Media Queries ========================= */
@media (max-width: 1200px) {
  .cvt-block.static {
    height: auto;
  }
  .cvt-block {
    width: 100%;
  }
  #i51 {
    width: 65%;
  }
}
@media (max-width: 767px) {
  .page-template-template-gallery-grid
    > footer
    > div.footer-top
    > div
    > div.footer-right
    > div:nth-child(2)
    > a {
    display: none;
  }

  .footer-column .logo img {
    margin: auto;
  }
  .footer-top .footer-right {
    display: block;
  }
  body
    > div.page-wrap
    > footer
    > div.footer-top
    > div
    > div.footer-right
    > div:nth-child(2)
    > a {
    display: none;
  }
  .footer-top .footer-column {
    text-align: left;
  }
  .input-container {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
  }
  .rd-input {
    display: flex;
    align-items: center;
    justify-content: flex-start !important;
    width: 100%;
  }
  .input-container input[type="radio"] {
    margin-right: 8px;
  }
}
@media (max-width: 540px) {
  #i50
    > div
    > div
    > div
    > div
    > div
    > div
    > div
    > div
    > div.fold-slide-text.align-center
    > h2 {
    padding-bottom: 0.4em;
    font-size: 46px;
  }
  .footer-column .logo {
    margin: 0 auto 30px;
  }
  .footer-top .footer-right {
    width: 80%;
  }
  .footer-top > div > div.footer-right > div:nth-child(3) > div {
    margin-left: 0;
  }
  .static_multiple_col {
    padding: 0 0 20px;
  }
  #i51 {
    width: 90%;
    position: relative;
    top: -116px !important;
    height: 116vh !important;
  }
  #i50 {
    height: 524px;
  }
  .page-wrap .page-head {
    margin: 147px 0 0;
  }
  div[role="main"] {
    padding: 0 0;
  }

  #i50
    > div.module-content
    > div
    > div
    > div
    > div
    > div
    > div
    > div
    > div.fold-slide-text.align-center
    > h2 {
    font-size: 48px !important;
  }
  #i50
    > div.module-content
    > div
    > div
    > div
    > div
    > div
    > div
    > div
    > div.fold-slide-text.align-center {
    top: 45%;
  }
}

@media (max-width: 414px) {
  #i51 {
    top: -101px !important;
    /* height: 117vh !important; */
  }
}
@media (max-width: 411px) {
  #i50 > div.module-content > div {
    height: 92vh !important ;
  }
  #i51 {
    top: -47px;
  }
}
/* 2778x1284 pixels at 458ppi */
@media only screen and (device-width: 393px) and (device-height: 786px) and (-webkit-device-pixel-ratio: 3) {
  #i51 {
    top: -61px !important;
    height: 116vh !important;
  }
}
@media only screen and (device-width: 375px) and (device-height: 667px) and (-webkit-device-pixel-ratio: 3) {
  #i51 {
    height: 129vh !important;
  }
}

@media (max-width: 360px) {
  #i52
    > div
    > div
    > div
    > div
    > div:nth-child(2)
    > div
    > div
    > div
    > div.fold-slide-text.align-center
    > p:nth-child(4),
  #i52
    > div
    > div
    > div
    > div
    > div.slick-slide.slick-current.slick-active
    > div
    > div
    > div
    > div.fold-slide-text.align-center
    > p:nth-child(4) {
    display: none;
  }
  #i51 {
    top: -205px;
  }
  #i50
    > div.module-content
    > div
    > div
    > div
    > div
    > div
    > div
    > div
    > div.fold-slide-text.align-center {
    top: 38%;
  }
}

#inner-page-form {
  background: #dadada;
  padding: 10px;
}
.input-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
}
.input-container input[type="radio"] {
  /* display: grid;
  place-items: center; */
  margin-bottom: 0 !important;
  width: auto;
}
.rd-input {
  margin-bottom: 9px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 8px;
}
#inner-page-form > div.input-container {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: flex-start !important;
  width: 100%;
  flex-direction: column;
}
#inner-page-form > p:nth-child(8) > span > a {
  color: #0075ff;
}
#inner-page-form > p:nth-child(23) > select,
#inner-page-form > p:nth-child(25) > select,
#inner-page-form > p:nth-child(31) > select {
  margin-bottom: 8px;
}
input[name="RepeatEmailName"] {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  height: 0;
  width: 0;
  z-index: -1;
}
#inner-page-form > p:nth-child(24) > select {
  margin-bottom: 1em;
}
.page-template-template-gallery-grid .footer-left {
  display: none;
}
.page-template-template-gallery-grid
  > footer
  > div.footer-top
  > div
  > div.footer-right
  > div:nth-child(2)
  > div:nth-child(1) {
  display: none;
}
.page-template-template-gallery-grid
  > footer
  > div.footer-top
  > div
  > div.footer-right
  > div:nth-child(2)
  > a {
  display: inherit;
}

/* honey pot */
input[name="RepeatEmailName"] {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  height: 0;
  width: 0;
  z-index: -1;
}
/* end honey pot */
@media (min-width: 1220px) {
  .header-style-e .header-logo .logo img {
    height: 163px;
  }
}
@media (min-width: 1200px) {
  .header-style-e .header-logo {
    background-color: transparent;
    top: -5px;
  }
}
@media (max-width: 1288px) {
  .header-logo .logo img {
    height: 132px !important;
  }
}
.cvt-content {
  transform: translateY(100%);
}
.static_photo_list .static_photo_list-left img {
  border: 2px solid #f7ce3f;
  width: 99%;
}
.blue-book-logo {
  position: relative;
  top: 8px;
}
.blue-book-logo > a > img {
  filter: drop-shadow(0px 1px 4px #f2c00b);
}
