/*! HTML5 Boilerplate v5.3.0 | MIT License | https://html5boilerplate.com/ */

/*
* 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

*
* These selection rule sets have to be separate.
* 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;
}

/* ==========================================================================
 Comely Park Dental
 ========================================================================== */

*, *:before, *:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

::-webkit-input-placeholder {
  color: #fff;
}

:-moz-placeholder {
  color: #fff;
}

::-moz-placeholder {
  color: #fff;
}

:-ms-input-placeholder {
  color: #fff;
}

html {
  line-height: 1;
  color: #515f67;
}

a {
  text-decoration: none;
  color: #fff;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

ul {
  list-style: none;
}

body,
input,
textarea {
  font-family: 'Droid Sans', sans-serif;
  font-weight: 400;
  font-style: normal;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Droid Sans', sans-serif;
}

strong {
  font-family: 'Droid Sans', sans-serif;
  font-weight: 700;
  font-style: normal;
}

em {
  font-weight: 400;
  font-style: normal;
}

ul, li, p, h1, h2, h3, h4, h5, h6 {
  margin: 0;
  padding: 0;
  line-height: 1;
  font-weight: 400;
  font-style: normal;
}

.container {
  max-width: 1000px;
  padding: 0 20px;
  margin: 0 auto;
}

.container:before,
.container:after {
  content: "";
  display: table;
  clear: both;
}

.slicknav_menu {
  position: absolute;
  z-index: 9999;
  width: 100%;
}

.slicknav_nav {
  font-size: 16px;
}

.slicknav_nav li {
  line-height: 1.4;
}

.slicknav_menu,
.mobile-nav {
  display: none;
}

.slicknav_btn {
  float: left;
  background-color: #353f46;
  text-shadow: none;
}

.slicknav_menu {
  background-color: #1d1d1d;
}

header {
  position: relative;
  height: 680px;
}

header nav {
  position: absolute;
  width: 100%;
  height: 130px;
  background-color: #353f46;
  background-color: rgba(53,63,70,.9);
  z-index: 9998;
}

header nav .logo {
  float: left;
  width: 20.833333333333336%; /* 200px */
  margin-top: 20px;
}

header nav ul {
  float: right;
  text-align: right;
  width: 70%;
}

header nav li {
  display: inline-block;
  font-size: 12px;
  text-transform: uppercase;
  margin-right: 20px;
}

header nav li:last-of-type {
  margin-right: 0;
}

header nav li a {
  color: #fff;
}

header nav li a:hover,
header nav li.here a {
  color: #00b7f0;
}

header nav .social {
  float: right;
  width: 70%;
  margin: 20px 0;
  font-size: 0;
  text-align: right;
}

header nav .social img {
  display: inline-block;
  margin-left: 10px;
  vertical-align: middle;
}

header nav .social span {
  display: inline-block;
  font-size: 24px;
  vertical-align: middle;
  color: #fff;
  text-transform: uppercase;
  margin-right: 20px;
  font-family: 'Droid Sans', sans-serif;
  font-weight: 700;
}

header nav .social span a {
  text-decoration: underline;
}

.banners {
  height: 680px;
}

.banners__banner {
  height: 680px;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.banners__banner-text {
  width: 72.91666666666666%; /* 700px */
  margin: 470px auto 0;
  background-color: #353f46;
  background-color: rgba(53,63,70,.6);
  padding: 25px 0;
}

.banners__banner-text p {
  text-align: center;
  font-size: 34px;
  line-height: 1.2;
  color: #fff;
  text-transform: uppercase;
  font-weight: normal;
  font-family: 'NeoSans-Bold', sans-serif;
}

.banners__banner-text p strong {
  font-weight: normal;
  font-family: 'NeoSans-Bold', sans-serif;
}

.home {
  background: #2ca2d4;
  padding: 50px 0;
  color: #fff;
}

.home__text {
  float: left;
  width: 62.5%; /* 600px */
  margin-right: 5.208333333333334%; /* 50px */
}

.home__video {
  float: left;
  padding-top: 55px;
  width: 32.29166666666667%; /* 310px */
}

.home h2 {
  font-size: 25px;
  margin-bottom: 30px;
  text-transform: uppercase;
}

.home p {
  font-size: 15px;
  line-height: 1.4;
  margin-bottom: 30px;
}

.page {
  padding: 50px 0;
}

.page--grey {
  background-color: #e1e1e1;
}

.page h1 {
  font-size: 35px;
  text-transform: uppercase;
  margin-bottom: 40px;
  font-weight: 700;
}

.page h2 {
  font-size: 26px;
  color: #4bcaff;
  margin-bottom: 40px;
  text-transform: uppercase;
}

.page h3 {
  font-size: 20px;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page p {
  font-size: 15px;
  margin-bottom: 30px;
  line-height: 1.5;
}

.page p em {
  color: #4bcaff;
}

.page ul {
  margin: 0 0 30px;
  padding: 0;
}

.page li {
  font-size: 15px;
  line-height: 1.5;
  margin: 0 0 20px;
  padding-left: 30px;
  background-position: left 4px;
  background-repeat: no-repeat;
  background-image: url(/img/tick.png);
}

.testimonials h1 {
  color: #fff;
}

.people:before,
.people:after {
  content: "";
  display: table;
  clear: both;
}

.people__person {
  display: block;
  float: left;
  width: 21.875%; /* 210px */
  margin: 0 4.166666666666666% 40px 0; /* 40px */
}

.people__person:nth-child(4n) {
  margin-right: 0;
}

.people__person img,
.people__team img {
  margin-bottom: 10px;
}

.people__person h3,
.people__team h3 {
  font-size: 15px;
  text-decoration: underline;
  color: #353f46;
  text-decoration: none;
}

.people__team {
  float: left;
  width: 47.91666666666667%; /* 460px */
  height: 230px;
  margin-right: 4.166666666666666%; /* 40px */
}

.people__text {
  float: left;
  width: 21.875%; /* 210px */
  height: 230px;
  background-color: #4bcaff;
  padding: 20px;
}

.people__text p {
  color: #fff;
  font-size: 16px;
  line-height: 1.4;
}

.person {

}

.person:before,
.person:after {
  content: "";
  display: table;
  clear: both;
}

.person__col {
  float: left;
}

.person__col--photo {
  width: 21.875%; /* 210px */
  margin-right: 3.125%; /* 30px */
}

.person__col--bio {
  width: 75%; /* 720px */
}

.treatments:before,
.treatments:after {
  content: "";
  display: table;
  clear: both;
}

.treatments__treatment {
  float: left;
  width: 32.29166666666667%; /* 310px */
  margin: 0 1.5625% 30px 0; /* 15px */
}

.treatments__treatment:nth-child(3n) {
  margin-right: 0;
}

.treatments__treatment img {
  width: 100%;
}

.treatments__treatment h3 {
  font-size: 22px;
  color: #fff;
  background: #58585a;
  padding: 12px 0 10px;
  text-align: center;
  text-transform: uppercase;
}

.treatments__treatment h3 a {
  color: #fff;
}

.treatments__treatment p {
  font-size: 12px;
  text-transform: uppercase;
  padding: 10px;
  line-height: 1.4;
}

.treatments__treatment-quote {
  background-color: #4bcaff;
  min-height: 281px;
  color: #fff;
  padding: 20px;
}

.treatments__treatment-quote p {
  padding: 0;
  font-size: 20px;
  line-height: 1.4;
  text-transform: none;
  margin-bottom: 20px;
}

.treatments__treatment-video {
  background-color: #c9efff;
  min-height: 281px;
  padding: 20px;
}

.treatments__treatment-video h4 {
  font-size: 22px;
  margin-bottom: 30px;
  text-transform: uppercase;
}


.blocks__block:before,
.blocks__block:after {
  content: "";
  display: table;
  clear: both;
}

.blocks__block {
  padding-bottom: 30px;
  margin-bottom: 30px;
  border-bottom: 1px dotted #353f46;
}

.blocks__block-text {
  float: left;
  width: 66.66666666666666%; /* 640px */
  margin-right: 3.125%; /* 30px */
}

.blocks__block-text h4 {
  color: #4bcaff;
  font-size: 20px;
  margin-bottom: 30px;
}

.blocks__block-text p {
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 30px;
}

.blocks__block-text p:last-of-type {
  margin-bottom: 0;
}

.page a {
  color: #4bcaff;
}

.back {
  display: block;
  margin-bottom: 30px;
}

.blocks__block-image {
  float: left;
  width: 30.208333333333332%; /* 290px */
}

.testimonials {
  min-height: 920px;
  background-position: center top;
  background-repeat: no-repeat;
  background-image: url(/img/testimonials-bg.jpg);
  background-size: cover;
}

.testimonials__testimonial {
  border-bottom: 1px dotted #fff;
  padding: 20px 0;
}

.testimonials__testimonial:before,
.testimonials__testimonial:after {
  content: "";
  display: table;
  clear: both;
}

.testimonials__testimonial:first-of-type {
  border-top: 1px dotted #fff;
}

.testimonials__testimonial .button {
  display: inline-block;
  padding: 10px 14px 8px;
  background-color: #4bcaff;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
}

.testimonials__testimonial p {
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.5;
  font-size: 18px;
}

.allcaps {
  text-transform: uppercase;
}

.testimonials__testimonial p:last-of-type {
  margin-bottom: 10px;
  text-transform: uppercase;
  font-size: 16px;
}

.testimonials__testimonial__col {
  float: left;
}

.testimonials__testimonial__col:first-of-type {
  width: 75%; /* 720px */
  padding-right: 100px;
}

.testimonials__testimonial__col:last-of-type {
  width: 25%; /* 240px */
  padding-top: 20px;
}

.page .testimonials__testimonial__col h3.before-after {
  background-color: #1d1d1d;
  margin: 0;
}

.testimonial:before,
.testimonial:after {
  content: "";
  display: table;
  clear: both;
}

.testimonial__column {
  float: left;
  width: 31.25%; /* 300px */
  margin-right: 3.125%; /* 30px */
}

.testimonial__column:last-of-type {
  margin-right: 0;
}

.match-height {
  margin-bottom: 30px;
}

.page h3.before-after {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  background-color: #4bcaff;
  padding: 16px;
  margin-top: 8px;
  text-transform: uppercase;
}

.iframe {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  padding-top: 25px;
  height: 0;
}

.iframe iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.contact {
  min-height: 837px;
  background-position: center top;
  background-repeat: no-repeat;
  background-image: url(/img/contact-bg.jpg);
  background-size: cover;
  color: #fff;
}

.contact input[type=text],
.contact textarea {
  display: block;
  width: 100%;
  line-height: normal;
  vertical-align: middle;
  border: 2px solid #fff;
  background-color: transparent;
  padding: 16px 12px 12px;
  font-size: 14px;
  margin-bottom: 20px;
}

.contact input[type=text] {
  width: 66%;
}

.contact input[type=submit] {
  text-transform: uppercase;
  border: 0;
  vertical-align: middle;
  line-height: normal;
  display: inline-block;
  padding: 10px 20px;
  border-radius: 0;
  color: #fff;
  font-size: 14px;
  background: #4bcaff;
  text-transform: uppercase;
}

.contact .radios {
  margin-bottom: 20px;
}

.contact .radios:before,
.contact .radios:after {
  content: "";
  display: table;
  clear: both;
}

.contact .radios input {
  float: left;
  margin-right: 20px;
}

.contact .radios label {
  float: left;
  margin-right: 20px;
}

.label--main {
  display: block;
  font-size: 14px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.label--lower {
  text-transform: none;
}

#blueSteel {
  display: none;
}

.custom-file-upload-hidden {
  display: none;
  visibility: hidden;
  position: absolute;
  left: -9999px;
}

.custom-file-upload {
  display: block;
  width: auto;
  font-size: 14px;
}

.custom-file-upload label {
  display: block;
  margin-bottom: 5px;
}

.file-upload-wrapper {
  position: relative;
}

.contact input.file-upload-input {
  width: 66%;
  font-size: 14px;
  padding: 10px;
  float: left;
  margin-right: 4%;
}

.file-upload-button {
  cursor: pointer;
  margin-left: -1px;
  float: right;
  text-transform: uppercase;
  border: 2px solid #fff;
  vertical-align: middle;
  line-height: normal;
  display: inline-block;
  padding: 10px 0;
  color: #fff;
  font-size: 14px;
  background-color: transparent;
  width: 30%;
  text-align: center;
}

.file {
  margin-bottom: 40px;
}

.form-buttons:before,
.form-buttons:after {
  content: "";
  display: table;
  clear: both;
}

.file:before,
.file:after {
  content: "";
  display: table;
  clear: both;
}

.the-button {
  float: left;
  width: 20%;
}

.contact-details {
  float: left;
  width: 80%;
}

.contact-details__opening {
  float: left;
  width: 45.57291666666667%;
  margin-right: 8.854166666666668%;
}

.contact-details__address {
  float: left;
  width: 45.57291666666667%;
}

table {
  width: 100%;
}

table td {
  font-size: 14px;
  padding: 0 0 10px;
}

.offers__offer {
  margin-bottom: 30px;
}

.offers__offer:last-of-type {
  margin-bottom: 0;
}

.fees-blocks {
  background-color: #eaebec;
  padding: 60px 0;
  margin-bottom: 20px;
}

.fees-blocks__block {
  float: left;
  width: 33.33333333333333%; /* 320px */
  text-align: center;
  padding: 0 60px;
  border-right: 1px solid #353f46;
  min-height: 162px;
}

.fees-blocks__block:last-of-type {
  border-right: 0;
}

.fees-blocks__block h3 {
  font-size: 18px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.fees-blocks__block p {
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 20px;
}

.fees-blocks__block a.button {
  display: inline-block;
  background-position: center center;
  background-repeat: no-repeat;
  width: 40px;
  height: 40px;
  background-image: url(/img/arrow.png);
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
  background-size: 40px 40px;
}

.our-fees:before,
.our-fees:after {
  content: "";
  display: table;
  clear: both;
}

.our-fees__table {
  float: left;
  width: 67.70833333333334%; /* 650px */
  margin-right: 2.083333333333333%; /* 20px */
}

.our-fees__table table {
  margin-bottom: 30px;
}

.our-fees__table th,
.our-fees__table td {
  padding: 15px;
  border-bottom: 1px solid #fff;
}

.our-fees__table th {
  background-color: #cacfd1;
  text-transform: uppercase;
  font-family: 14px;
  text-align: left;
  padding: 10px;
}

.our-fees__table td {
  background-color: #dcdfe0;
}

.our-fees__quote {
  display: block;
  float: left;
  width: 30.208333333333332%; /* 290px */
  background-color: #4bcaff;
  color: #fff;
  padding: 30px;
  min-height: 577px;
  background-position: center bottom 30px;
  background-repeat: no-repeat;
  background-image: url(/img/arrow-white.png);
  background-size: 40px 40px;
}

.our-fees__quote p {
  padding: 0;
  font-size: 20px;
  line-height: 1.4;
  text-transform: none;
  margin-bottom: 20px;
  color: #fff;
}

.our-fees__quote h4 {
  color: #fff;
}

.fees-small-print {
  margin-bottom: 60px;
}

.fees-small-print p {
  margin-bottom: 10px;
  font-size: 14px;
}

.fees-columns:before,
.fees-columns:after {
  content: "";
  display: table;
  clear: both;
}

.fees-columns__column {
  float: left;
  width: 47.91666666666667%; /* 460px */
}

.fees-columns__column:first-of-type {
  margin-right: 4.166666666666666%; /* 40px */
}

.dental-plans:before,
.dental-plans:after {
  content: "";
  display: table;
  clear: both;
}

.dental-plans__plan {
  float: left;
  width: 31.25%; /* 300px */
  margin: 0 3.125% 30px 0; /* 30px */
  padding: 20px;
}

.dental-plans__plan:nth-child(3n) {
  margin-right: 0;
}

.dental-plans__plan.green {
  background-color: #c0e9d5;
}

.dental-plans__plan.blue {
  background-color: #b2e6fa;
}

.dental-plans__plan.purple {
  background-color: #d1c0de;
}

.dental-plans__plan.darkBlue {
  background-color: #b6d6eb;
}

.dental-plans__plan.pink {
  background-color: #f9b2dc;
}

.dental-plans__plan h2 {
  color: #515f67;
  margin-bottom: 20px;
  font-size: 34px;
  font-weight: 700;
}

.dental-plans__plan ul {
  list-style-type: disc;
  margin-left: 15px;
}

.dental-plans__plan li {
  background: none;
  padding: 0;
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 5px;
}

.dental-plans__plan h3 {
  padding-top: 10px;
  font-size: 21px;
  border-top: 1px solid #353f46;
}

.dental-plans__plan h3 small {
  font-size: 15px;
}

footer {
  background-color: #353f46;
}

footer .logo {
  float: right;
  width: 20.34188034188034%; /* 238px */
  margin-top: 25px;
  opacity: 0.5;
}

.footer {
  float: left;
  margin-top: 50px;
}

.footer ul {
  margin-bottom: 20px;
}

.footer li {
  display: inline-block;
  font-size: 13px;
  text-transform: uppercase;
  margin-right: 10px;
  padding-right: 10px;
  border-right: 2px solid #bcbec0;
}

.footer li:last-of-type {
  margin-right: 0;
  padding-right: 0;
  border-right: 0;
}

.footer li a {
  color: #bcbec0;
}

.footer a:hover {
  color: #00b7f0;
}

.footer p {
  font-size: 12px;
  line-height: 1.4;
  text-transform: uppercase;
  color: #bcbec0;
  margin-bottom: 20px;
}

.footer p.footer__telephone {
  font-size: 24px;
  color: #fff;
  text-transform: uppercase;
  font-family: 'Droid Sans', sans-serif;
  font-weight: 700;
}

.footer p.footer__telephone a {
  text-decoration: underline;
}

/* ==========================================================================
 Helper classes
 ========================================================================== */

/*
* Hide visually and from screen readers
*/

.hidden {
  display: none !important;
}

/*
* Hide only visually, but have it available for screen readers:
* http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
*/

.visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

/*
* Extends the .visuallyhidden class to allow the element
* to be focusable when navigated to via the keyboard:
* https://www.drupal.org/node/897638
*/

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  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 only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@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:
 http://www.phpied.com/delay-loading-your-print-css/
 ========================================================================== */

@media print {
  *,
  *:before,
  *:after,
  *:first-letter,
  *:first-line {
    background: transparent !important;
    color: #000 !important; /* Black prints faster: http://www.sanbeiji.com/archives/953 */
    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,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  /*
   * Printing Tables:
   * http://css-discuss.incutio.com/wiki/Printing_Tables
   */

  thead {
    display: table-header-group;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  img {
    max-width: 100% !important;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}
