/*! HTML5 Boilerplate v7.2.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 2.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
  margin: 0.2em 0;
  background: #ccc;
  color: #000;
  padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

img {
  max-width: 100%;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
}

.btn {
  background-color: #d99e2c;
  font-family: 'Montserrat', sans-serif;
  color: #fff;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 18px;
  line-height: 1;
  padding: 15px 20px;
  border-radius: 5px;
  width: 300px;
  max-width: 100%;
  transition: all .4s ease;
  -webkit-transition: all .4s ease;
  -moz-transition: all .4s ease;
  -ms-transition: all .4s ease;
}

.btn.btn-style-1 {
  background-color: #d99e2c!important;
  color: #fff!important;
}

.btn:hover {
  color: #fff!important;
  background-color: #ce8c21!important;
}

.btn.btn-style-1:hover {
  color: #fff!important;
  background-color: #ce8c21!important;
}

.btn.btn-style-2 {
  background-color: #abebed!important;
  color: #11274A!important;
}

.btn.btn-style-2:hover {
  background-color: #82dee1!important;
  color: #11274A!important;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.5;
}

a, a:hover {
  color: #D99E2C;
  text-decoration: none;
}

p {
  margin-top: 0;
  margin-bottom: 10px;
}

.modal-open .modal {
  background-color: rgba(0, 0, 0, 0.85);
}

.modal.show .modal-dialog {
  top: 50%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -o-transform: translateY(-50%);
}

.form-group {
  margin-bottom: 10px;
}

.form-group label {
  font-size: 14px;
  font-weight: bold;
  line-height: 1;
  margin-bottom: 5px;
  cursor: pointer;
}

.form-group .form-control {
  border: 0;
  border-radius: 5px;
  padding: 11px 14px;
  font-size: 14px;
  height: auto;
  line-height: 1.3;
}

header#main-header .header-cta-container p {
  font-size: 18px;
}

#headline-section .headline-img {
  background-image: url(../img/hero-banner.jpg);
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  position: relative;
  height: 100%;
}

#headline-section .headline-content {
  background-color: #fbf6f1;
}

#headline-section .headline-text h1 {
  color: #11274a;
  font-weight: 500;
  line-height: 1.3;
}

#headline-section .headline-text h1.line-1 {
  font-size: 28px;
  margin-bottom: 15px;
  width: 240px;
  max-width: 100%;
  margin-right: 0;
  margin-left: auto;
  display: block;
}

#headline-section .headline-text h1.line-2 {
  font-size: 36px;
  margin-bottom: 60px;
  width: 280px;
  max-width: 100%;
  margin-right: 0;
  margin-left: auto;
}

#headline-section .headline-text h1.line-3 {
  font-size: 25px;
  margin-bottom: 50px;
}

#headline-section .headline-text p.line-4 {
  color: #898989;
  font-family: 'Montserrat', sans-serif;
  font-size: 17px;
  font-weight: 500;
  margin: 0;
}

#headline-section .headline-text p.line-4 a {
  color: #898989;
}

.cta-section .cta-text-content {
  background-color: #11274A;
}

.cta-section .cta-text-content * {
  color: #fff;
}

.cta-section .cta-text-content h2.cta-header {
  font-size: 35px;
  font-weight: 900;
  width: 680px;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.3;
}

.cta-section .cta-text-content p.cta-desc {
  font-size: 26px;
  width: 730px;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
}

#border-section .border-img {
  height: 18px;
  background-image: url(../img/section-border.png);
  background-repeat: repeat-x;
  background-position: center;
}

#border-section-2 .border-img {
  height: 10px;
  background-color: #d99e2c;
}

#lp-desc-section .col-md-4 {
  -ms-flex: 0 0 39%;
  flex: 0 0 39%;
  max-width: 39%;
}

#lp-desc-section .col-md-8 {
  -ms-flex: 0 0 61%;
  flex: 0 0 61%;
  max-width: 61%;
}

#lp-desc-section .img-container img.img-1 {
  width: 100%;
}

#lp-desc-section .desc-header-container {
  background-color: #11274A;
}

#lp-desc-section .desc-header-container * {
  color: #fff;
}

#lp-desc-section .desc-header-container h3.header-1 {
  margin-bottom: 0;
  font-size: 26px;
  width: 520px;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

#lp-desc-section .desc-container {
  background-color: #EFEFEF;
}

#lp-desc-section .desc-container p.treatment-code {
  font-size: 12px;
  margin-bottom: 10px;
}

ul.check-style {
  padding: 0;
  list-style-type: none;
}

ul.check-style li {
  position: relative;
  font-size: 22px;
  font-weight: 700;
  padding-left: 45px;
  margin-bottom: 15px;
  line-height: 1.5;
}

ul.check-style li:last-of-type {
  margin-bottom: 0;
}

ul.service-desc-list.check-style {
  margin-bottom: 0;
}

ul.service-desc-list.check-style li {
  font-size: 16px;
  font-weight: 400;
  padding-left: 40px;
  padding-top: 5px;
}

ul.service-desc-list.check-style li:before {
  width: 30px;
  height: 30px;
}

#lp-desc-section .service-container {
  border: 1px solid #ccc;
}

#lp-desc-section .service-container .service-header-container {
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}

#lp-desc-section .form-container .form-header-container {
  background-color: #56a49e;
}

#lp-desc-section .form-container .form-header-container * {
  color: #fff;
}

#lp-desc-section .form-container .form-header-container .header-3 {
  margin: 0;
  font-size: 18px;
}

#lp-desc-section .form-container .form-fields-container {
  background-color: #D99E2C;
}

#lp-desc-section .form-container .form-fields-container * {
  color: #fff;
}

#lp-desc-section .form-container .form-fields-container form button.btn {
  width: 100%;
  background-color: #abebed;
  color: #11274A;
  margin-top: 5px;
}

#lp-desc-section .form-container .form-fields-container form button.btn:hover {
  background-color: #82dee1;
}

#lp-desc-section .form-container .form-fields-container form .form-control {
  color: #333;
}

#lp-desc-section .form-container .form-fields-container p.privacy-guarantee {
  font-size: 14px;
  margin: 0;
  margin-top: 10px;
}

#lp-desc-section .testimonials-container .testimonials-header-container {
  background-color: #11274a;
}

#lp-desc-section .testimonials-container .testimonials-header-container * {
  color: #fff;
}

#lp-desc-section .testimonials-container .testimonials-header-container h3 {
  font-size: 24px;
  margin: 0;
}

#lp-desc-section .testimonials-container .testimonials-list {
  border: 1px solid #ccc;
  min-height: 879px;
}

#message .alert.alert-error {
  border-color: #a00;
  border-radius: 5px;
  text-align: center;
  color: #a00;
  padding: 8px 12px;
  line-height: 1.3;
  margin-top: 15px;
  font-size: 14px;
}

.testimonials-list .testimonial-entry .desc {
  font-style: italic;
}

.testimonials-list .testimonial-entry .author {
  font-weight: bold;
}

.testimonials-list .testimonial-entry .author .stars-container {
  background-image: url(../img/star.png);
  display: inline-block;
  width: 100px;
  height: 25px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  vertical-align: middle;
}

.testimonials-list .testimonial-entry .author .author {
  font-weight: bold;
  display: inline-block;
  vertical-align: middle;
}

#cta-2-section .cta-text-content h2.cta-header {
  font-weight: 700;
  width: 100%;
}

#cta-2-section .cta-text-content .cta-btn-container {
  margin-top: 20px;
  margin-bottom: 5px;
}

#cta-2-section .cta-text-content .cta-btn-container .or {
  font-size: 22px;
  line-height: 1;
  vertical-align: middle;
  width: 75px;
  display: inline-block;
  font-weight: bold;
}

#dentists-section .dentists-header-container h3.section-header {
  color: #11274a;
}

.dentists-desc-container .dentist-desc-entry {
  background-color: #e6f7f8;
  border-radius: 10px;
}

.dentists-desc-container .dentist-desc-entry .image-container {
  max-width: 131px;
  flex: 0 0 131px;
  -ms-flex: 0 0 131px;
}

.dentists-desc-container .dentist-desc-entry .image-container {
  max-width: 200px;
  flex: 0 0 200px;
  -ms-flex: 0 0 200px;
}

.dentists-desc-container .dentist-desc-entry .image-container img.dentist-img {
  width: 130px;
}

.dentists-desc-container .dentist-desc-entry .image-container .dentist-name h4 {
  font-size: 20px;
  margin: 0;
}

.dentists-desc-container .dentist-desc-entry .image-container .specialty {
  font-style: italic;
  color: #666;
  font-weight: bold;
}

.dentists-desc-container .dentist-desc-entry .image-container .license-num {
  font-size: 14px;
}

.dentists-desc-container .dentist-desc-entry .desc-container {
  font-size: 14px;
}

#contact-section .contact-header-container h3.cta-header {
  font-size: 36px;
  color: #11274a;
}

#contact-section .contact-header-container p.cta-desc {
  font-size: 24px;
  color: #11274a;
  font-weight: bold;
}

#contact-section .cta-btn-container {
  margin-top: 20px;
  margin-bottom: 35px;
}

#contact-section .cta-btn-container .or {
  display: inline-block;
  font-size: 22px;
  line-height: 1;
  font-weight: bold;
  width: 75px;
}

.schedule-container .schedule-list .schedule-entry {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  position: relative;
  margin-bottom: 10px;
}

.schedule-container .schedule-list .schedule-entry:last-of-type {
  margin-bottom: 0;
}

.schedule-container .schedule-list .schedule-entry:before {
  content: '';
  width: 25px;
  height: 25px;
  background-color: #56a49e;
  border-radius: 100%;
}

.schedule-container .schedule-list .schedule-entry:before {
  content: '';
  width: 25px;
  height: 25px;
  background-color: #56a49e;
  border-radius: 100%;
  background-image: url(../img/clock.png);
  background-repeat: no-repeat;
  background-position: center;
}

.schedule-container .schedule-list .schedule-entry .date {
  max-width: 100px;
  flex: 0 0 100px;
  padding-left: 5px;
  font-weight: bold;
}

.schedule-container .schedule-list .schedule-entry .time {
  max-width: calc(100% - 125px);
  flex: 0 0 calc(100% - 125px);
  -ms-flex: 0 0 calc(100% - 125px);
  text-align: right;
}

footer#footer-main {
  color: #666;
  font-size: 14px;
  line-height: 1.3;
}

.address-container {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.address-container:before {
  content: '';
  background-image: url(../img/map-marker.png);
  width: 20px;
  height: 30px;
  margin-top: 10px;
}

.address-container .address-content {
  color: #666;
  padding-left: 15px;
}

.attribute-container {
  margin-top: 5px;
}

.attribute-container .privacy-policy {
  margin-top: 5px;
}

footer#footer-main .bottom-text {
  font-size: 10px;
  text-transform: uppercase;
  font-style: italic;
}

#contact-section .row {
  position: relative;
}

#contact-section .row > div {
  position: relative;
  z-index: 2;
}

#contact-section .container .row:first-child:before, 
#contact-section .container .row:first-child:after {
  content: '';
  width: 164px;
  height: 228px;
  position: absolute;
  z-index: 1;
}

#contact-section .container .row:first-child:before {
  left: 0;
  top: 70px;
}

#contact-section .container .row:first-child:after {
  right: 0;
  top: 70px;
}

#privacy-policy-content h1.section-header {
  color: #11274a;
}

#contact-section .map-container {
  width: 100%;
  height: 235px;
  background-color: #f2f2f2;
  position: relative;
}

#contact-section .map-container span {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-transform: uppercase;
  font-weight: bold;
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
  display: none !important;
}

/*
* Hide only visually, but have it available for screen readers:
* https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
*
* 1. For long content, line feeds are not interpreted as spaces and small width
*    causes content to wrap 1 word per line:
*    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
*/

.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
* Extends the .sr-only class to allow the element
* to be focusable when navigated to via the keyboard:
* https://www.drupal.org/node/897638
*/

.sr-only.focusable:active,
.sr-only.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
* Hide visually and from screen readers, but maintain layout
*/

.invisible {
  visibility: hidden;
}

/*
* Clearfix: contain floats
*
* For modern browsers
* 1. The space content is one way to avoid an Opera bug when the
*    `contenteditable` attribute is included anywhere else in the document.
*    Otherwise it causes space to appear at the top and bottom of elements
*    that receive the `clearfix` class.
* 2. The use of `table` rather than `block` is only necessary if using
*    `:before` to contain the top-margins of child elements.
*/

.clearfix:before,
.clearfix:after {
  content: " ";
  /* 1 */
  display: table;
  /* 2 */
}

.clearfix:after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media (min-width: 1200px) {
  .container {
    max-width: 970px;
  }
}

@media (max-width: 991px) {
  header#main-header .header-cta-container p {
      font-size: 16px;
  }

  .btn {
      font-size: 16px;
      padding: 11px 15px;
      width: 270px;
  }

  #headline-section .headline-text h1.line-1 {
      font-size: 20px;
      margin-bottom: 10px;
  }

  #headline-section .headline-text h1.line-2 {
      font-size: 28px;
      margin-bottom: 30px;
  }

  #headline-section .headline-text h1.line-3 {
      font-size: 18px;
      margin-bottom: 30px;
  }

  #headline-section .headline-text p.line-4 {
      font-size: 14px;
  }

  .cta-section .cta-text-content h2.cta-header {
      font-size: 26px;
  }

  .cta-section .cta-text-content p.cta-desc {
      font-size: 18px;
  }

  #lp-desc-section .form-container .form-header-container .header-3 {
      font-size: 14px;
  }

  #lp-desc-section .desc-header-container h3.header-1 {
      font-size: 20px;
  }

  ul.check-style li {
      font-size: 18px;
      padding-left: 40px;
      padding-top: 2px;
  }

  ul.check-style li:before {
      width: 30px;
      height: 30px;
  }

  #lp-desc-section .service-container .service-header-container .header-2 {
      font-size: 22px;
  }

  #lp-desc-section .service-container .service-desc-container {
      font-size: 14px;
  }

  ul.service-desc-list.check-style li {
      font-size: 14px;
  }

  #lp-desc-section .testimonials-container .testimonials-header-container h3 {
      font-size: 18px;
  }

  .testimonials-list .testimonial-entry .desc {
      font-size: 14px;
  }

  #lp-desc-section .testimonials-container .testimonials-list {
      min-height: 892px;
  }

  #cta-2-section .cta-text-content h2.cta-header {
      font-size: 22px;
  }

  #cta-2-section .cta-text-content .cta-btn-container .or {
      font-size: 18px;
      width: 60px;
  }

  #dentists-section .dentists-header-container h3.section-header {
      font-size: 22px;
  }

  #contact-section .contact-header-container h3.cta-header {
      font-size: 26px;
  }

  #contact-section .contact-header-container p.cta-desc {
      font-size: 20px;
  }

  #contact-section .cta-btn-container .or {
      font-size: 18px;
      width: 60px;
  }

  footer#footer-main {
      font-size: 12px;
  }
}

@media (max-width: 767px) {
  header#main-header .logo-container {
      text-align: center;
  }

  header#main-header .header-cta-container {
      display: none;
  }

  #headline-section .col-md-7 {
      padding-right: 15px!important;
  }

  #headline-section .col-md-5 {
      padding-left: 15px!important;
  }

  #headline-section .headline-img {
      height: 250px;
      background-position: top center;
  }

  #headline-section .headline-text h1.line-1 {
      width: 100%;
      text-align: center!important;
  }

  #headline-section .headline-text h1.line-2 {
      width: 100%;
      text-align: center!important;
      margin-bottom: 15px;
  }

  #headline-section .headline-text h1.line-3 {
      text-align: center!important;
  }

  #headline-section .headline-text p.line-4 {
      text-align: center!important;
  }
  
  #lp-desc-section .col-md-8, 
  #lp-desc-section .col-md-4 {
      max-width: 100%;
      flex: 0 0 100%;
      -ms-flex: 0 0 100%;
  }

  #lp-desc-section .col-md-8 {
      padding-right: 15px!important;
  }
  
  #lp-desc-section .col-md-4 {
      padding-left: 15px!important;
      margin-top: 1rem;
  }

  #lp-desc-section .testimonials-container .testimonials-list {
      min-height: auto;
  }

  #cta-2-section .cta-text-content .cta-btn-container .or {
      display: block;
      width: auto;
      margin-top: 15px;
      margin-bottom: 15px;
  }

  .dentists-desc-container .dentist-desc-entry .desc-container {
      max-width: 100%;
      flex: 0 0 100%;
      -ms-flex: 0 0 100%;
      padding-left: 0!important;
      margin-top: 15px;
      text-align: center;
  }

  .dentists-desc-container .dentist-desc-entry .image-container {
      max-width: 100%;
      flex: 0 0 100%;
      -ms-flex: 0 0 100%;
  }

  .dentists-desc-container .dentist-desc-entry {
      -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  }

  #contact-section .cta-btn-container .or {
      display: block;
      text-align: center;
      width: auto;
      margin-top: 15px;
      margin-bottom: 15px;
  }

  #contact-section .schedule-container {
      margin-top: 25px;
  }

  .address-container {
      width: 180px;
      margin-left: auto;
      margin-right: auto;
      margin-bottom: 10px;
  }

  .attribute-container {
      text-align: center!important;
  }
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *:before,
  *:after {
    background: transparent !important;
    color: #000 !important;
    /* Black prints faster */
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }
  a,
  a:visited {
    text-decoration: underline;
  }
  a[href]:after {
    content: " (" attr(href) ")";
  }
  abbr[title]:after {
    content: " (" attr(title) ")";
  }
  /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */
  a[href^="#"]:after,
  a[href^="javascript:"]:after {
    content: "";
  }
  pre {
    white-space: pre-wrap !important;
  }
  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }
  /*
     * Printing Tables:
     * https://web.archive.org/web/20180815150934/http://css-discuss.incutio.com/wiki/Printing_Tables
     */
  thead {
    display: table-header-group;
  }
  tr,
  img {
    page-break-inside: avoid;
  }
  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }
  h2,
  h3 {
    page-break-after: avoid;
  }
}

