/*
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 {
  height: 19.7vh;
  top: -1.5em;
} */
body {
  overflow-x: hidden;
}
h2.headline-skinny {
  font-size: 41px;
}
body > header > div.header-top > ul > li:nth-child(1) {
  margin-right: 1em;
}
#menu-menu > li:nth-child(4) > a {
  pointer-events: none;
}
#header-form {
  width: 233px;
  margin: 2em auto;
  padding: 8px;
}
.scrolled.header-style-e header {
  top: 0;
}
.scrolled.header-style-e .header-logo {
  display: block;
}
.scrolled.header-style-e .header-logo .logo {
  display: block;
}
.scrolled.header-style-e .header-logo .logo img {
  display: block;
}
.scrolled.header-style-e .header-bottom {
  top: 97px;
  position: absolute;
  right: 40px;
  left: auto;
}
.scrolled.header-style-e .header-top {
  float: right;
  top: 30px;
  right: 40px;
  height: 50px;
  display: flex;
  align-items: center;
  position: absolute;
}
#panel-main > span,
.fold-mobile-slide-text h2:after {
  display: none;
}
.light-blue {
  background: #73b2ff !important;
}
.payment-container {
  text-align: center;
  background: #f3f3f3;
  padding: 20px;
}
.payment-container p {
  text-align: left;
}
/*
  BANNER
*/
#i79 {
  padding: 24px 0 14px;
}
#i79 .row .close {
  display: none;
}
#i79 a.btn {
  background-color: #0f336a;
  color: #fff;
}
/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 99; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}
/* Modal Content/Box */
.modal-content {
  background-color: #fefefe;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 80%; /* Could be more or less, depending on screen size */
}
/* The Close Button */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}
.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}
/*
    DOC QUOTE
*/
#i67 > div.module-content > div {
  max-width: 960px;
}
#i67 > div > div > h2 {
  padding-left: 0;
  padding-right: 0;
  font-size: 44px;
}
#i67 > div > div > h2 > span {
  font-size: 100%;
  font-style: normal;
}
/*
    DOCS
*/
#i71 .module-content {
  padding: 3em 0 1em;
}
#i71 > div > div > div.static_blocks_list-right > h3,
#i71 .rte {
  color: #fff;
}
#i71 .rte h2 {
  color: #88c1ff;
}
#i71 > div > div > div.static_blocks_list-right > a {
  background: #88c1ff;
}
#i71 .fa-plus-circle {
  display: none;
}
#i71 .static_blocks_list-left {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-gap: 0.5em;
}
#i71 .static_blocks_list-left .block {
  width: unset;
  height: 12em;
}
#i71 .static_blocks_list-left .block:first-child,
#i71 .static_blocks_list-left .block:nth-child(2),
#i71 .static_blocks_list-left .block:nth-child(3) {
  grid-column: span 4;
}
#i71 .static_blocks_list-left .block:nth-child(4) {
  grid-row-start: 2;
  grid-column: 3 / span 4;
}
#i71 .static_blocks_list-left .block:nth-child(5) {
  grid-row-start: 2;
  grid-column: 7 / span 4;
}
#i71 .static_blocks_list-left .block p:nth-child(2) {
  font-size: 16px;
}
#i71 .static_blocks_list-left:before,
#i71 .static_blocks_list-left:after {
  content: unset;
  display: unset;
}
#i74 img {
  height: 25vh;
}
#i61,
#i68 {
  margin-top: -3em;
}
#i61 > div > div,
#i68 > div > div {
  padding: 0;
  margin: 0 130px 90px;
  box-shadow: 7px 7px 20px grey;
}
#i61 > div > div > .cvt-block > .cvt-content,
#i61 > div > div > .cvt-block > span,
#i68 > div > div > .cvt-block > .cvt-content,
#i68 > div > div > .cvt-block > span {
  background-color: rgba(15, 51, 106, 0.5) !important;
}
#i61 > div > div > .cvt-block > .cvt-content > *,
#i61 > div > div > .cvt-block > span,
#i68 > div > div > .cvt-block > .cvt-content > *,
#i68 > div > div > .cvt-block > span {
  color: #fff;
}
#i66 > div.module-content > div {
  max-width: 1350px;
}
#i66 > div.module-content > div > div.m1-left > h2 {
  font-weight: 300;
}
#i66 > div.module-content > div > div.m1-right {
  width: 68%;
}
#i66 .m1-block {
  height: 13em;
}
#i66 > div.module-content > div > div.m1-right > .m1-block > .m1-block-image {
  width: 40%;
}
#i66 > div.module-content > div > div.m1-right > .m1-block > .m1-block-text {
  width: 45%;
  float: right;
  padding: 3.5em 2em 2em;
}
#i66
  > div.module-content
  > div
  > div.m1-right
  > .m1-block
  > .m1-block-text
  > p {
  font-size: 13px;
}
/*
    OFFICE
*/
#i57 > div > div > div.static_image_split-right > div > form > label {
  margin-bottom: 10px;
  padding: 9px;
  font-size: 14px;
}
#i57 #docs {
  margin-left: 1em;
  margin-top: 7px;
  margin-bottom: 18px;
}
#i58 {
  padding: 0;
}
/*
** VIDEO TESTIMONIALS (static blocks list)
*/
#i54 .row {
  max-width: 1643px;
}
#i54 .block {
  width: 23%;
}
#i54 .block:nth-child(3n+3) {
  margin-right: 2%;
}
/*
** BLOG (Blog Columns)
*/
#i59 .blog_columns-post {
  width: 23%;
}
#i59 hr {
  display: none;
}
#i59 span.meta {
  margin-top: 1em;
}
/*
** SITEMAP
*/
body:not(.home) > div.page-wrap > div:nth-child(2) > div > div.columns.eight > div > ul > li.page_item.page-item-93 {
  display: none;
}
@media screen and (max-width: 2300px) {
  #i76 > div > div > h2 {
    font-size: 1.7em;
  }
}
@media screen and (max-width: 1900px) {
  #i76 > div > div > h2 {
    font-size: 1.3em;
  }
}
@media screen and (max-width: 1600px) and (min-height: 901px) {
  #i74 img {
    height: 12vh;
  }
}
@media screen and (max-width: 1475px) {
  #i76 > div > div > h2 {
    font-size: 1em;
  }
}
@media screen and (max-width: 1199px) {
  .scrolled.header-style-e .header-bottom {
    position: absolute !important;
    top: 100px;
  }

  .scrolled.header-style-e .header-top {
    float: right;
    top: 30px;
    right: 40px;
    height: 50px;
    display: flex;
    align-items: center;
    position: absolute;
  }
  #header-form {
    display: none;
  }
  .scrolled.header-style-e .header-bottom {
    position: relative !important;
    right: 0 !important;
    left: auto;
  }
  header.header {
    z-index: 99;
    background: #fff;
  }
  .header-style-e .header-logo .logo img {
    height: 150px;
    top: 50%;
  }
}
@media screen and (max-width: 962px) {
  .headline-skinny {
    font-size: 40px !important;
  }
  #i66 > div.module-content > div > div.m1-right {
    width: 100%;
  }
}
@media screen and (max-width: 810px) {
  .headline-skinny {
    font-size: 34px !important;
  }
  #i61,
  #i68 {
    margin-top: -7em;
  }
  #i61 > div > div,
  #i68 > div > div {
    margin: 0 0 80px;
  }
  #i67 > div > div > h2 {
    font-size: 41px;
  }
  #i66
    > div.module-content
    > div
    > div.m1-right
    > .m1-block
    > .m1-block-text
    > h3,
  #i66
    > div.module-content
    > div
    > div.m1-right
    > .m1-block
    > .m1-block-text
    > .read-more {
    font-size: 13px;
  }
  #i66
    > div.module-content
    > div
    > div.m1-right
    > .m1-block
    > .m1-block-text
    > p {
    font-size: 11px;
  }
  #i74 img {
    height: 6vh;
  }
}
@media screen and (max-width: 800px) {
  .headline-skinny {
    font-size: 33px !important;
  }
}
@media screen and (max-width: 766px) {
  .headline-skinny {
    font-size: 32px !important;
  }
  #i67 > div > div > h2 {
    font-size: 39px;
  }
  #i74 img {
    height: 5vh;
  }
  #i76 {
    width: 80vw;
    left: 10vw;
  }
  .static_blocks_list-right a.schedule {
    margin-bottom: 50px;
  }
  #i63 .fold-slide-contain {
    background-image: none !important;
  }
  #i63 > div.module-content > div > div > div > div > div > div > div > div.fold-slide-text.align-center > p {
    color: #fff !important;
  }
  #i63 .module-image img {
    top: 31%;
    left: 21%;
  }
}
@media screen and (max-width: 601px) {
  .headline-skinny {
    font-size: 25px !important;
  }
  #i67 > div > div > h2 {
    font-size: 30px;
  }
  #i66
    > div.module-content
    > div
    > div.m1-right
    > .m1-block
    > .m1-block-text
    > h3,
  #i66
    > div.module-content
    > div
    > div.m1-right
    > .m1-block
    > .m1-block-text
    > .read-more {
    font-size: 16px;
  }
  #i66
    > div.module-content
    > div
    > div.m1-right
    > .m1-block
    > .m1-block-text
    > p {
    font-size: 14px;
  }
  #i74 img {
    height: 25vh;
  }
  #i54 .block {
    width: 100%;
  }
}
@media screen and (max-width: 414px) {
  .headline-skinny {
    font-size: 17px !important;
  }
  #i71 .row {
    display: flex;
    flex-direction: column-reverse;
  }
  #i71 .static_blocks_list-left {
    grid-template-columns: 1fr;
  }
  #i71 .static_blocks_list-left .block {
    grid-row-start: unset !important;
    grid-column: unset !important;
  }
  #i66 > div.module-content > div > div.m1-right > .m1-block > .m1-block-text {
    padding: 2em;
  }
  #i55 > div.module-content > div > div > div > div > div > div > div {
    background-image: none;
  }
  #i63 > div.module-content > div > div > div > div > div > div > div > video,
  #i55 > div.module-content > div > div > div > div > div > div > div > video {
    display: none;
  }
}
@media screen and (max-width: 375px) {
  .headline-skinny {
    font-size: 15px !important;
  }
}
@media (min-width: 1200px) {
  .header-style-e .header-logo .logo img {
    top: -17px !important;
    height: 136px !important;
  }
}
@media (max-width: 1338px) {
  .header-style-e .header-logo .logo img {
    height: 90px !important;
  }
}
.page-head.no-img-bg h1 {
  font-family: "Dosis", sans-serif;
  font-weight: 400;
}
body > div.page-wrap > div:nth-child(2) > div > div.columns.eight > div > p {
  font-size: 17px;
  font-family: sans-serif;
}

/*
** SMART GALLERY
*/
#picture-grid .grid-patient {
  aspect-ratio: unset;
}
.before-after-container {
  height: 74%;
}
.excerpt-container {
  padding: 200px 0 16px;
}
.page-id-93 > div.page-wrap > div:nth-child(2) > div {
  max-width: unset;
}
.headshot-grid.before-grid.excerpt-grid
  .grid-patient
  .before-after-container
  .slide-container {
  height: 89%;
}
.before-grid .headshot-image {
  margin-bottom: 1em;
  width: 100%;
  height: auto;
  max-height: 64%;
}
.headshot-grid .before-after-container {
  width: 100%;
}
.before-grid.excerpt-grid .before-after-container {
  width: 100%;
  height: 240px;
}
.headshot-grid .before-after-container img {
  position: absolute;
  top: 20px;
}
.deluxe-grid.headshot-grid.excerpt-grid .grid-patient .before-image {
  clip: rect(0, 146px, 203px, 0);
}
.headshot-grid.before-grid.excerpt-grid .grid-patient .before-after-container .slide-container {
  height: 100%;
}
.deluxe-grid.headshot-grid.before-grid.excerpt-grid .grid-patient .headshot-image + .before-after-container .slider {
  top: 12px;
  left: -5px;
}
.deluxe-grid.before-grid.excerpt-grid .grid-patient .slider {
  top: 90px;
}
#picture-grid > div > div.excerpt-container > a {
  font-weight: 200;
  line-height: 45px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  transition: color 0.3s;
  padding: 3px 10px;
  color: #fff;
  font-family: "Barlow Condensed";
  background: #c7c7c7;
  margin-top: 10px;
}
#picture-grid > div:nth-child(1) > div.excerpt-container > a:hover {
  background: #000;
}
.deluxe-grid.headshot-grid.before-grid.excerpt-grid.title-grid .grid-patient .gallery-excerpt {
  margin-top: -0.5em;
}
@media screen and (max-height: 800px) {
  .deluxe-grid.headshot-grid.before-grid.excerpt-grid.title-grid .grid-patient .before-image {
      clip: rect(0, 39vw, 35vw, 0);
  }
  .deluxe-grid.headshot-grid.before-grid.excerpt-grid.title-grid .grid-patient .gallery-title {
    font-size: 3vw;
  }
  .deluxe-grid.headshot-grid.before-grid.excerpt-grid.title-grid .grid-patient .gallery-excerpt {
    margin-top: 0;
  }
}
@media screen and (min-width: 550px) and (min-height: 801px) {
  .excerpt-container {
    padding: 220px 0 16px;
  }
}
@media screen and (min-width: 580px) and (max-height: 800px) {
  .deluxe-grid.headshot-grid.before-grid.excerpt-grid.title-grid .grid-patient .before-image {
    clip: rect(0, 229px, 198px, 0);
}
}
@media screen and (min-width: 600px) {
  .excerpt-container {
    padding: 140px 0 16px;
  }
}
@media screen and (min-width: 600px) and (min-height: 801px) {
  .deluxe-grid.headshot-grid.before-grid.excerpt-grid.title-grid .grid-patient {
    width: 80vw;
  }
  .excerpt-container {
    padding: 240px 0 16px;
  }
  .deluxe-grid.headshot-grid.before-grid.excerpt-grid.title-grid .grid-patient .gallery-title {
    font-size: 5vw;
    margin-bottom: 5vw;
  }
}
@media screen and (min-width: 650px) and (min-height: 801px) {
  .excerpt-container {
    padding: 260px 0 16px;
  }
}
@media screen and (max-width: 766px) {
  .excerpt-container {
    padding: 48% 0 16px;
  }
  .deluxe-grid.headshot-grid.before-grid.excerpt-grid.title-grid
    .grid-patient
    .gallery-title {
    font-size: 30px;
  }
  #picture-grid > div > .excerpt-container > h3 {
    margin-top: 20px;
  }
}
@media screen and (min-width: 767px) {
  .deluxe-grid.headshot-grid.before-grid.excerpt-grid.title-grid .grid-patient .gallery-title {
    margin-bottom: 10px;
  }
  #picture-grid {
    margin: 0 auto 2em;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 1200px;
  }
  #picture-grid .grid-patient {
    margin: 0 auto;
  }
  #picture-grid > div > div.excerpt-container > h3 {
    font-size: 37px;
  }
  .deluxe-grid.headshot-grid.before-grid.excerpt-grid.title-grid
    .grid-patient
    .gallery-title {
    font-size: 4vw;
  }
  .before-grid.excerpt-grid .before-after-container {
    width: 100%;
    height: 358px;
  }
}
@media screen and (min-width: 767px) and (max-height: 800px) {
  .deluxe-grid.headshot-grid.before-grid.excerpt-grid.title-grid .grid-patient .before-image {
    clip: rect(0, 188px, 162px, 0);
  }
}
@media screen and (min-width: 767px) and (min-height: 801px) {
  .excerpt-container {
    padding: 48% 0 16px;
  }
}
@media screen and (min-width: 962px) {
  .deluxe-grid.headshot-grid.before-grid.excerpt-grid .grid-patient .headshot-image {
    height: auto;
    width: 100%;
  }
}
@media screen and (min-width: 1280px) and (min-height: 801px) {
  .deluxe-grid.headshot-grid.before-grid.excerpt-grid.title-grid .grid-patient .gallery-title {
    font-size: 4vw;
  }
}
@media screen and (min-width: 1280px) and (max-height: 800px) {
  .deluxe-grid.headshot-grid.before-grid.excerpt-grid.title-grid .grid-patient {
    width: 41vw;
  }
}
@media screen and (min-width: 1335px) and (max-width: 1580px) {
  .header-style-e .header-logo {
    left: 5px;
  }
  .header-style-e .header-logo .logo img {
    height: 101px !important;
  }
}
@media screen and (min-width: 1366px) {
  .deluxe-grid.headshot-grid.before-grid.excerpt-grid .grid-patient .before-image,
  .deluxe-grid.headshot-grid.before-grid.excerpt-grid .grid-patient .after-image {
    height: auto;
    width: 100%;
    max-height: 116%;
  }
  .deluxe-grid.headshot-grid.before-grid.excerpt-grid .grid-patient .before-image {
    clip: rect(0, 12.4vw, 17vw, 0);
  }
}
@media screen and (min-width: 1560px) and (max-height: 800px) {
  .excerpt-container {
    padding: 180px 0 16px;
  }
}
@media screen and (min-width: 1800px) and (max-height: 800px) {
  .excerpt-container {
    padding: 180px 0 16px;
  }
}
@supports (-webkit-touch-callout: none) {
  @media screen and (max-width: 766px) {
    .deluxe-grid.headshot-grid.before-grid.excerpt-grid .grid-patient {
      max-height: 454px;
    }
    .before-grid.excerpt-grid .before-after-container {
      height: 157px;
    }
    .deluxe-grid.headshot-grid.excerpt-grid .grid-patient .before-image {
      clip: rect(0, 94px, 131px, 0);
    }
    .deluxe-grid.headshot-grid.before-grid.excerpt-grid .grid-patient .headshot-image + .before-after-container .slider {
      top: 6px;
    }
  }
}
@media screen and (min-width: 2000px) {
  .deluxe-grid.headshot-grid.before-grid.excerpt-grid .grid-patient .slider {
    top: 5vw;
  }
}
/*  bulk of temporary gallery fix. Some rules above have been commeted out */
#picture-grid > div > .excerpt-container > h3 {
  margin-top: 8px;
}