/*! 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;
}

.btn {
  font-weight: bold;
  font-size: 18px;
  line-height: 1;
  padding: 15px 20px;
  border-radius: 5px;
  min-width: 210px;
  max-width: 100%;
}

.btn, .btn.btn-style-1 {
  background-color: #ffa700;
  color: #ffff;
}

.btn:hover, .btn.btn-style-1:hover {
  background-color: #C68000;
  color: #fff;
}

.btn.btn-style-2 {
  background-color: #21a0d2;
  color: #fff;
}

.btn.btn-style-2:hover {
  background-color: #0694CA;
  color: #fff;
}

a {
  text-decoration: none;
  color: #ffa700;
}

a:hover {
  text-decoration: underline;
  color: #ffa700;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
}

h1 {
  font-size: 40px;
}

h2 {
  font-size: 36px;
}

h3 {
  font-size: 32px;
}

h4 {
  font-size: 28px;
}

h5 {
  font-size: 24px;
}

h6 {
  font-size: 18px;
}

.form-control {
  border: 1px solid #e2e2e2;
  background-color: #fafafa;
  padding: 7px 12px;
  height: auto;
  border-radius: 5px;
}

body {
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  line-height: 1.4;
  color: #3a3a3a;
}

p:last-of-type {
  margin-bottom: 0;
}

a, input[type=button], input[type=submit], button, .btn {
  transition: all .4s ease;
  -webkit-transition: all .4s ease;
  -moz-transition: all .4s ease;
  -o-transition: all .4s ease;
}

ol, ul, dl {
  margin-bottom: 0;
}

ul li, ol li {
  margin-bottom: 5px;
}

ul li:last-child, ol li:last-child {
  margin-bottom: 0;
}

.or-text {
    width: 65px;
    display: inline-block;
    color: #07244e;
    font-weight: bold;
}

@media screen and (max-width: 530px) {
  .or-text {
    display: block;
    text-align: center;
    width: auto;
  }
}

#covid-19-banner {
  background-color: #C41818;
}

#covid-19-banner * {
  color: #fff;
}

#covid-19-banner .content p {
  font-size: 14px;
}

#covid-19-banner .covid-19-btn {
  border: 2px solid #fff;
  background-color: #C41818;
  color: #fff;
  border-radius: 10px;
  font-size: 16px;
  padding: 10px 13px;
}

#covid-19-banner .covid-19-btn:hover {
  background-color: #fff;
  color: #C41818;
}

#covid-19-modal .modal-dialog {
  max-width: 100%;
  width: 930px;
  padding-left: 15px;
  padding-right: 15px;
}

#covid-19-modal *:not(a) {
    color: #606060;
}

#covid-19-modal h1,
#covid-19-modal h2,
#covid-19-modal h3,
#covid-19-modal h4,
#covid-19-modal h5,
#covid-19-modal h6 {
  color: #000;
}

#offer-banner-section {
  background-color: #ececec;
}

#offer-banner-section .cta-sub-header {
  font-size: 24px;
  font-style: italic;
}

#offer-banner-section .cta-header {
  font-size: 36px;
}

/*#headline-section .col-md-8 {*/
/*  -ms-flex: 0 0 62%;*/
/*  flex: 0 0 62%;*/
/*  max-width: 62%;*/
/*}*/

/*#headline-section .col-md-4 {*/
/*  -ms-flex: 0 0 38%;*/
/*  flex: 0 0 38%;*/
/*  max-width: 38%;*/
/*}*/

#headline-section .headline-form .form-header {
  font-size: 26px;
  font-style: italic;
  font-weight: 400;
}

#headline-section .contact-form .btn-style-2 {
  width: 100%;
}

#headline-section .form-bottom-text .header-text {
  font-size: 28px;
}

#headline-section .form-bottom-text ul {
  font-size: 18px;
  color: #3a3a3a;
}

.cta-banner-section {
  background-color: #ececec;
}

#testimonial-form-section {
    position: relative;
    background-image: url(../img/girl-in-dentist-chair.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#testimonial-form-section:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
    background-color: rgba(33, 160, 210, 0.8);
}

#testimonial-form-section .content {
    position: relative;
    z-index: 1;
}

.testimonials-list .testimonial-entry {
    margin-bottom: 20px;
}

.testimonials-list .testimonial-entry:last-child {
    margin-bottom: 0;
}

.testimonials-list .testimonial-entry .desc {
    font-style: italic;
    color: #fff;
    font-size: 14px;
    width: 690px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 10px
}

.testimonials-list .testimonial-entry .meta-container .star-container img {
    width: 84px;
}

.testimonials-list .testimonial-entry .meta-container .name-container {
    font-weight: bold;
    color: #07244e;
}

@media screen and (max-width: 575px) {
  #contact-section {
    text-align: center;
  }

  #contact-section .col-sm-4 {
    margin-bottom: 1em;
  }
}

#contact-section .header-text {
    font-size: 20px;
    font-weight: 900;
    margin-bottom: 20px;
}

#contact-section * {
    font-size: 14px;
}

#contact-section .contact-content ul.socials-list {
    list-style-type: none;
    padding-left: 0;
    margin-top: 20px;
}

#contact-section .contact-content ul.socials-list li {
    display: inline-block;
    margin-bottom: 0;
    margin-right: 8px;
}

#contact-section .contact-content ul.socials-list li:last-child {
    margin-right: 0;
}

#contact-section .contact-content ul.socials-list li a {
    display: block;
    width: 30px;
    height: 30px;
    text-align: center;
    background-color: #ffa700;
    color: #fff;
    border-radius: 100%;
    line-height: 30px;
}

#contact-section .contact-content ul.socials-list li a:hover {
  background-color: #C68000;
}

#contact-section .contact-content ul.socials-list li a * {
    font-size: 16px;
}

#contact-section .contact-content ul.socials-list li a.facebook {
    background-color: #00529C;
}

#contact-section .contact-content ul.socials-list li a.facebook:hover {
    background-color: #00427E;
}

#contact-section .contact-content ul.socials-list li a.instagram {
    background-color: #6C2F92;
}

#contact-section .contact-content ul.socials-list li a.instagram:hover {
    background-color: #571A7D;
}

#contact-section .contact-content ul.socials-list li a.linkedin {
    background-color: #2F8DCC;
}

#contact-section .contact-content ul.socials-list li a.linkedin:hover {
    background-color: #0B79C1;
}

footer#main-footer {
    background-color: #45C2C5;
}

footer#main-footer * {
    color: #fff;
    font-size: 12px;
}

footer#main-footer ul.footer-menu {
    list-style-type: none;
    padding-left: 0;
}

footer#main-footer ul.footer-menu li {
    display: inline-block;
    padding-right: 10px;
    border-right: 1px solid #fff;
    margin-right: 5px;
}

footer#main-footer ul.footer-menu li:last-child {
  margin-right: 0;
  border-right: 0;
  padding-right: 0;
}

footer#main-footer ul.footer-menu li a {
    display: block;
    text-decoration: underline;
}

footer#main-footer ul.footer-menu li a:hover {
  opacity: 0.8;
}

#privacy-policy-section *:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6) {
    font-size: 12px;
}

/* ==========================================================================
   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: 930px;
  }

  #offer-banner-section .container {
      max-width: 710px;
  }

  #privacy-policy-section .container {
      max-width: 720px;
  }
}



@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;
  }
}

