/*
* Skeleton V2.0.4
* Copyright 2014, Dave Gamache
* www.getskeleton.com
* Free to use under the MIT license.
* http://www.opensource.org/licenses/mit-license.php
* 12/29/2014
*/


/* Table of contents
---------------------------------------
- Grid
- Base Styles
- Typography
- Links
- Buttons
- Forms
- Lists
- Code
- Tables
- Spacing
- Utilities
- Clearing
- Media Queries
*/


/* Grid
--------------------------------------- */
.container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box; }
.column,
.columns {
  width: 100%;
  float: left;
  box-sizing: border-box; }

/* For devices larger than 400px */
@media (min-width: 400px) {
  .container {
    width: 85%;
    padding: 0; }
}

/* For devices larger than 550px */
@media (min-width: 550px) {
  .container {
    width: 80%; }
  .column,
  .columns {
    margin-left: 4%; }
  .column:first-child,
  .columns:first-child {
    margin-left: 0; }

  .one.column,
  .one.columns                    { width: 4.66666666667%; }
  .two.columns                    { width: 13.3333333333%; }
  .three.columns                  { width: 22%;            }
  .four.columns                   { width: 30.6666666667%; }
  .five.columns                   { width: 39.3333333333%; }
  .six.columns                    { width: 48%;            }
  .seven.columns                  { width: 56.6666666667%; }
  .eight.columns                  { width: 65.3333333333%; }
  .nine.columns                   { width: 74.0%;          }
  .ten.columns                    { width: 82.6666666667%; }
  .eleven.columns                 { width: 91.3333333333%; }
  .twelve.columns                 { width: 100%; margin-left: 0; }

  .one-third.column               { width: 30.6666666667%; }
  .two-thirds.column              { width: 65.3333333333%; }

  .one-half.column                { width: 48%; }

  /* Offsets */
  .offset-by-one.column,
  .offset-by-one.columns          { margin-left: 8.66666666667%; }
  .offset-by-two.column,
  .offset-by-two.columns          { margin-left: 17.3333333333%; }
  .offset-by-three.column,
  .offset-by-three.columns        { margin-left: 26%;            }
  .offset-by-four.column,
  .offset-by-four.columns         { margin-left: 34.6666666667%; }
  .offset-by-five.column,
  .offset-by-five.columns         { margin-left: 43.3333333333%; }
  .offset-by-six.column,
  .offset-by-six.columns          { margin-left: 52%;            }
  .offset-by-seven.column,
  .offset-by-seven.columns        { margin-left: 60.6666666667%; }
  .offset-by-eight.column,
  .offset-by-eight.columns        { margin-left: 69.3333333333%; }
  .offset-by-nine.column,
  .offset-by-nine.columns         { margin-left: 78.0%;          }
  .offset-by-ten.column,
  .offset-by-ten.columns          { margin-left: 86.6666666667%; }
  .offset-by-eleven.column,
  .offset-by-eleven.columns       { margin-left: 95.3333333333%; }

  .offset-by-one-third.column,
  .offset-by-one-third.columns    { margin-left: 34.6666666667%; }
  .offset-by-two-thirds.column,
  .offset-by-two-thirds.columns   { margin-left: 69.3333333333%; }

  .offset-by-one-half.column,
  .offset-by-one-half.columns     { margin-left: 52%; }

}


/* Base Styles
--------------------------------------- */
/* NOTE
html is set to 62.5% so that all the REM measurements throughout Skeleton
are based on 10px sizing. So basically 1.5rem = 15px :) */
html {
  font-size: 62.5%; }
body {
  font-size: 1.7em; /* currently ems cause chrome bug misinterpreting rems on body element */
  line-height: 1.6;
  font-weight: 400;
  font-family: 'Open Sans', sans-serif;
  color: #000; }


/* Typography
--------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  margin-bottom: 2rem;
  font-weight: 700;
  font-family: 'Raleway', sans-serif; }
h1 { font-size: 3.5rem; line-height: 1.2;  letter-spacing: -.1rem; color: #74af26; font-weight:500;}
h2 { font-size: 3.6rem; line-height: 1.25; letter-spacing: -.1rem; }
h3 { font-size: 1.7rem; line-height: 1.3;  letter-spacing: -.1rem; }
h4 { font-size: 5.3rem; line-height: 1.2; letter-spacing: -.08rem; }
h5 { font-size: 1.8rem; line-height: 1.5;  letter-spacing: -.05rem; }
h6 { font-size: 1.5rem; line-height: 1.6;  letter-spacing: 0; }

/* Larger than phablet */
@media (min-width: 550px) {
  h1 { font-size: 3.5rem; }
  h2 { font-size: 4.2rem; }
  h3 { font-size: 1.7rem; }
  h4 { font-size: 3rem; }
  h5 { font-size: 2.4rem; }
  h6 { font-size: 1.5rem; }
}

p {
  margin-top: 0; }



h2.video {
	font-family: Calibri, Candara, Segoe, "Segoe UI", Optima, Arial, sans-serif;
	text-align: left;
}

/* Links
--------------------------------------- */
a {
  color: #0090c3;
  text-decoration: none; }
a:hover {
  color: #74af26; }


/* Buttons
--------------------------------------- */
.button,
button,
input[type="submit"],
input[type="reset"],
input[type="button"] {
  display: inline-block;
  padding: 0 30px;
  color: #ffffff;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  line-height: 20px;
  letter-spacing: .1rem;
  text-transform: uppercase;
  text-decoration: none;
  background-color: #74AF26;
  border-radius: 4px;
  border: 1px solid #bbb;
  cursor: pointer;
  box-sizing: border-box; }
.button:hover,
button:hover,
input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover,
.button:focus,
button:focus,
input[type="submit"]:focus,
input[type="reset"]:focus,
input[type="button"]:focus {
  color: #0090c3;
  border-color: #0090c3;
  outline: 0; }
.button.button-primary,
button.button-primary,
input[type="submit"].button-primary,
input[type="reset"].button-primary,
input[type="button"].button-primary {
  color: #FFF;
  background-color: #33C3F0;
  border-color: #33C3F0; }
.button.button-primary:hover,
button.button-primary:hover,
input[type="submit"].button-primary:hover,
input[type="reset"].button-primary:hover,
input[type="button"].button-primary:hover,
.button.button-primary:focus,
button.button-primary:focus,
input[type="submit"].button-primary:focus,
input[type="reset"].button-primary:focus,
input[type="button"].button-primary:focus {
  color: #FFF;
  background-color: #1EAEDB;
  border-color: #1EAEDB; }


/* Forms
--------------------------------------- */
input[type="email"],
input[type="number"],
input[type="search"],
input[type="text"],
input[type="tel"],
input[type="url"],
input[type="password"],
textarea,
select {
  height: 38px;
  padding: 6px 10px; /* The 6px vertically centers text on FF, ignored by Webkit */
  background-color: #fff;
  border: 1px solid #D1D1D1;
  border-radius: 4px;
  box-shadow: none;
  box-sizing: border-box; }
/* Removes awkward default styles on some inputs for iOS */
input[type="email"],
input[type="number"],
input[type="search"],
input[type="text"],
input[type="tel"],
input[type="url"],
input[type="password"],
textarea {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none; }
textarea {
  min-height: 65px;
  padding-top: 6px;
  padding-bottom: 6px; }
input[type="email"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
input[type="text"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
  border: 1px solid #95c11f;
  outline: 0; }
label,
legend {
  display: block;
  margin-bottom: .5rem;
  font-weight: 600; }
fieldset {
  padding: 0;
  border-width: 0; }
input[type="checkbox"],
input[type="radio"] {
  display: inline; }
label > .label-body {
  display: inline-block;
  margin-left: .5rem;
  font-weight: normal; }


/* Lists
--------------------------------------- */
ul {
  list-style: circle inside; }
ol {
  list-style: decimal inside; }
ol, ul {
  padding-left: 0;
  margin-top: 0; }
ul ul,
ul ol,
ol ol,
ol ul {
  margin: 1.5rem 0 1.5rem 3rem;
  font-size: 90%; }
li {
  margin-bottom: 1rem; }


/* Code
--------------------------------------- */
code {
  padding: .2rem .5rem;
  margin: 0 .2rem;
  font-size: 90%;
  white-space: nowrap;
  background: #F1F1F1;
  border: 1px solid #E1E1E1;
  border-radius: 4px; }
pre > code {
  display: block;
  padding: 1rem 1.5rem;
  white-space: pre; }


/* Tables
--------------------------------------- */
th,
td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid #E1E1E1; }
th:first-child,
td:first-child {
  padding-left: 0; }
th:last-child,
td:last-child {
  padding-right: 0; }


/* Spacing
--------------------------------------- */
button,
.button {
  margin-bottom: 1rem; }
input,
textarea,
select,
fieldset {
  margin-bottom: 1.5rem; }
pre,
blockquote,
dl,
figure,
table,
p,
ul,
ol,
form {
  margin-bottom: 2.5rem; }


/* Utilities
--------------------------------------- */
.u-full-width {
  width: 100%;
  box-sizing: border-box; }
.u-max-full-width {
  max-width: 100%;
  box-sizing: border-box; }
.u-pull-right {
  float: right; }
.u-pull-left {
  float: left; }


/* Misc
--------------------------------------- */
hr {
  margin-top: 3rem;
  margin-bottom: 3.5rem;
  border-width: 0;
  border-top: 1px solid #E1E1E1; }




/* Self Clearing Goodness */
.container:after,
.row:after,
.u-cf {
  content: "";
  display: table;
  clear: both; }

.holiday-alert{
    padding: 4px; 
    background-color: #0696C9 ;
    color: #fff;
    text-align: center;
    font-size: 12pt;
	}

/* Overlay
-------------------------------------------------- */
#overlay {
  position: fixed;
  display: block;
  width: 100%;
  height: 110%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.5);
  z-index: 999;
  cursor: pointer;
  text-align: center;
}
#text{
  position: absolute;
  top: 50%;
  left: 50%;
  color: #21201E;
  background: #FFFFFF;
  padding: 30px;
  transform: translate(-50%,-50%);
  -ms-transform: translate(-50%,-50%);
}
#close-box {
    position: absolute;
    top: 0;
    right: 0;
    padding: 5px 15px;
    font-size: 3rem;
}
.button-cdcp a{
  padding: 5px 10px;
  text-align: center;
  font-weight: 600;
  line-height: 38px;
  text-transform: uppercase;
  white-space:nowrap;
  text-decoration: none;
  background-color: #74AF26;
  border-radius: 4px;
  color:#fff;
  cursor: pointer;
  box-sizing: border-box;}
@media (max-width:770px){
  #text {
    overflow-y: scroll;
    position: relative;
    top: 50%;
    width: 300px;
  }
 }

/* =Nav
-------------------------------------------------------------- */
	
ul.topnav {
  list-style-type: none;
  padding-top: 1%;
  margin: 0;
  overflow: hidden;
  text-align:right;
  vertical-align:middle;
}

ul.topnav li {display: inline;
text-align:right;}

ul.topnav li a {
  display: inline-block;
  color: #000;
  text-align: right;
  padding: 25px 20px 5px 20px;
  text-decoration: none;
  transition: 0.3s;
  font-size: 1.55rem;
  font-family: Calibri, Candara, Segoe, "Segoe UI", Optima, Arial, sans-serif;
  font-weight: bold;
}

ul.topnav li a:first-child {
	padding-left:0;
}


ul.topnav li a:hover {color: #0090c3;}

ul.topnav li.icon {display: none;}


ul.topnav li.button2 a{
  padding: 5px 10px;
  text-align: center;
  font-weight: 600;
  line-height: 38px;
  text-transform: uppercase;
  white-space:nowrap;
  text-decoration: none;
  background-color: #74AF26;
  border-radius: 4px;
  border: 1px solid #bbb;
  cursor: pointer;
  box-sizing: border-box;}



@media screen and (max-width:1075px) {
  ul.topnav li:not(:first-child) {display: none;}
  ul.topnav li.icon {
    float: right;
    display: inline-block;
  }
}

@media screen and (max-width:1075px) {
  ul.topnav.responsive {position: relative;}
  ul.topnav.responsive li.icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  ul.topnav.responsive li {
    float: none;
    display: inline;
  }
  ul.topnav.responsive li a {
    display: block;
    text-align: left;
  }
}


.airflow {
padding: 3%;
background: #ffffff;
color: #333333;
border: 3px solid #0292C5;
margin-bottom: 4%;
}	


/* Custom
--------------------------------------- */
.resize {
	width: 100%;
	height:auto;
}

.main-image {
	border: 5px solid #74af26;

}

.header {
	font-family: Calibri, Candara, Segoe, "Segoe UI", Optima, Arial, sans-serif;
	font-size:1.6rem;
	font-weight:400;
	background-color:#f8f8f8;
	text-align:center;
}

.header a{
	text-decoration:none;
	color:#000;
}

.sm {
	text-align:right;
}

@media screen and (max-width:549px) {
.sm{
	text-align:center;
}
}

.fab {
	color:#0090c3;
	margin-left: 10px;
}

#myVideo {
    width: 100%; 
    height: 100%;
	bottom:30;
}


.content {
    position:absolute;
    width:100%;
    min-height:100px;
    background-color: transparent;
    z-index:300000;
    text-align:center;
    left: 50%;
    transform: translate(-50%,-600%);
}

.content2 {
    position:absolute;
    width:100%;
    min-height:100px;
    background-color: transparent;
	color: #168DC6;
	font-size:3.8rem;
    z-index:300000;
    text-align:center;
    left: 50%;
    transform: translate(-50%,-200%);
}

.content2-inner {
	display: inline-block;
	
}

.content2 a{
	text-decoration:none;
	color: #168DC6;
}

@media (max-width:1450px) {
	.content {
		transform: translate(-50%, -500%);
	}
	.content2 {
		transform: translate(-50%, -150%);
	}}

@media (max-width:1024px) {
	.content {
		transform: translate(-50%, -400%);
	}
	.content2 {
		/* transform: translate(-50%, -150%);*/
		display: none;
	}}

@media (max-width:768px) {
	.content {
		transform: translate(-50%, -300%);
	}
	/*.content2 {
		transform: translate(-50%, -150%);
		font-size:2.4rem;
	} */
}

@media (max-width: 650px) {
.content {
	visibility: hidden;
}
}

.menu {
	background-color:#f8f8f8;
	margin-bottom:2%;
}


.cta {
	background-color: #74af26;
	color:#fff;
	text-align:center;
	font-size:1.3rem;
	min-height:265px;
	margin-top:3%;
	margin-bottom:2%;
	padding: 2% 2%;
}

.cta img {
	margin: 2% 0;
}

.services {
	background: #0191c4; /* For browsers that do not support gradients */
    background: linear-gradient(#0191c4, #22b7ec); /* Standard syntax (must be last) */
	padding:2% 0;
}

.services a{
	color:#fff;
	text-decoration:none;
}

.services a:hover {
  color: #74af26; }

.services ul{
	list-style-image:url(https://downtownedmontondentist.com/images/check-services.png);
}

.stats {
	margin: 2% 0;
}
.service-image {
	float: right;
	padding-right: 2%;
	
  
}
.quote {
	font-size:5.3rem;
	color: #33bbeb;
	margin-bottom:7%;
}

.quote1 {
	margin-right:2%;
}

.quote2 {
	margin-left:0;
}

.stat-int {
	text-align:center;
}

.stat-int h4 {
	margin-bottom:0;
	letter-spacing:0.5rem;
}

.news {
	background-color:#fafafa;
	color:#0090c3;
	font-weight:bold;
	margin: 2% 0;
	padding:2% 0;
	text-align:center;
}

.videoWrapper {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 25px;
	height: 0;
}
.videoWrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.social {
	margin:2% 0;
}

.logos {
background-color: #fafafa;
}

.footer {
	background:#e1e1e1;
	background: linear-gradient(#e1e1e1, #fbfbfb);
	font-size:1.4rem;
	padding:2% 0;
}

.footer a {
	color:#000;
	text-decoration:none;
}

.footer a:hover {
	color:#0090c3;
}

.footer ul{
	list-style-type:none;
}

.footer li{
	font-size:1.6rem;
}

.footer h5{
	color:#0090c3;
	font-size: 2.1rem;
	font-weight:bold;
}

.footer
td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px dotted #504b52; }
th:first-child,
td:first-child {
  padding-left: 0; }
th:last-child,
td:last-child {
  padding-right: 0; 
  text-align:right;
}

.google-maps {
	position: relative;
	padding-bottom: 80%; // This is the aspect ratio
	height: 0;
	overflow: hidden;
	text-align:right;
}

.google-maps iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100% !important;
	height: 100% !important;
}

.google-maps-full {
	position: relative;
	padding-bottom: 25%; // This is the aspect ratio
	height: 0;
	overflow: hidden;
}

.google-maps-full iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100% !important;
	height: 100% !important;
}	

.google-maps {
	position: relative;
	padding-bottom: 80%; // This is the aspect ratio
	height: 0;
	overflow: hidden;
	text-align:right;
}

.google-maps iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100% !important;
	height: 100% !important;
}

.services2 {
	background: #0191c4; /* For browsers that do not support gradients */
    background: linear-gradient(#0191c4, #22b7ec); /* Standard syntax (must be last) */
	padding:2% 1%;
	font-size:1.5rem;
}

.services2 a{
	color:#fff;
	text-decoration:none;
}

.services2 a:hover {
  color: #74af26; }

.services2 ul{
	list-style-image:url(https://downtownedmontondentist.com/images/check-services.png);
}

.services-images {
	width:30%;
	float:right;
	margin-left: 1%;
	text-align:right;
}

@media (max-width: 550px) {
.services-images {
	width: 100%;
}
}

.services3 {
	background: #0191c4; /* For browsers that do not support gradients */
    background: linear-gradient(#0191c4, #22b7ec); /* Standard syntax (must be last) */
	padding:2% 1%;
	font-size:1.5rem;
}

.services3 a{
	color:#fff;
	text-decoration:none;
}

.services3 a:hover {
  color: #74af26; }

.services3 ul {
	list-style: none;
}

@media (min-width: 750px) {
.anythingelse {
	webkit-column-count: 2;
    -moz-column-count: 2;
    column-count: 2;
    -webkit-column-gap: 3em;
    -moz-column-gap: 3em;
    column-gap: 3em;
    -webkit-column-rule: 1px solid rgba(0,0,0,0.1);
    -moz-column-rule: 1px solid rgba(0,0,0,0.1);
    column-rule: 1px solid rgba(0,0,0,0.1);
    margin: 0 0 2.15em;
}
}

.silvertext {
	color: #848484;
}

.green-bg {
	background-color: #74B027;
}

.blue-bg {
	background-color: #008EC2;
}

.lightgrey-bg {
	background-color: #DBDBDB;
}

.grey-bg {
	background-color: #332C2C;
	color: silver;
}

.white {
	color: #ffffff;
}

.top-bottom-padding {
	padding: 5% 0;
}

.top-bottom-padding h1 {
	color: #272727;
	font-weight: 700;
} 

.center {
	text-align: center;
}

h2.line {
    display: table;
    white-space: nowrap;
}

h2.line:after {
      border-top: 1px solid #74AF26;
      content: '';
      display: table-cell;
      position: relative;
      top: 0.5em;
      width: 100%;
}
h2.line:after { left: 1.5%; }

@media (max-width:600px) {
	h2.line {white-space: pre-wrap;}
}

.padded {
	margin: 4%;
}
.contact {
	border: 1px solid #95c11f;
	border-radius: 15px;
	padding: 4%;
}

.headline {
	color: #272727;
	font-size: 3.0rem;
	font-weight: 700;
}

.bottom-footer {
	background-color: #e0e0e0;
	font-size:1.0rem;
	text-align: center;
}

.uponline {
	text-align:right;
	font-size:1.0rem;
}

i.fa {
  display: inline-block;
  border-radius: 60px;
  box-shadow: 0px 0px 2px #888;
  padding: 0.5em 0.6em;
}

.bio {
	text-align: left;
	font-size: 1.5rem; /* IE 9 & 10 don't like font-size: 0; */
	min-width: 200px;
}

.bio div {
    width: 200px;
    height: 325px;
    display: inline-block;
    background: #ffffff;
	text-align: center;
	margin: 5px;
	padding: 5px;
	box-shadow: 1px 1px 3px #888888;
	color: #333333;
	overflow: hidden;
}

.bio a {
	color: #791010;
	text-decoration: none;
}

.bio h5 {
	margin-top: 8px;
	margin-bottom: -2px;
}

.bio:after {
    content: '';
    width: 100%; /* Ensures there are at least 2 lines of text, so justification works */
    display: inline-block;
}

.bio p {
	color: #00a89f;
	font-weight: 400;
}

.biopage {
	margin: 5px;
	padding: 5px;
}

.bio-image, 
.bio-text {
	float: left; 
	display: table;
}

.bio-resize {
	width: 150px;
	height: auto;
}

.alert {
  padding: 20px;
  background-color:  #74AF26;
  color: #FFF;
  text-align: center;
}

.alert a {
  color: #ffffff;
}


.closebtn {
  margin-left: 15px;
  color: white;
  font-weight: bold;
  float: right;
  font-size: 22px;
  line-height: 20px;
  cursor: pointer;
  transition: 0.3s;
}
.closebtn:hover {
  color: black;
}

.covid {
  padding: 5%;
  background: #ffffff;
  color: #333333;
  border: 5px solid #FF0004;
  margin-bottom: 5%;
}

.welcome {
padding-top: 5%;	
}


.newsletter-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	width: 100%;
	gap: 10px;
}

.newsletter-list a {
	background: #008ec2;
	color: white;
	padding: 0.5em 0.75em;
	display: inline-block;
}

.newsletter-list a:hover {
	opacity: 0.7;
}

/* box-external 
--------------------------*/

#box-container{margin:0;padding:0}.box{list-style-type:none;float:left;margin-bottom:1rem;margin-left:1%;margin-right:1%;width:48%}.box:nth-child(2n+1){clear:both;margin-left:0}.box:nth-child(2n+0){margin-right:0}.box a{display:block;width:100%;height:auto}.box a img{-webkit-back-visibility:hidden;display:block;width:100%;height:auto;vertical-align:bottom}footer{font-size:1.3rem;font-family:"Helvetica neue", Helvetica, Arial, sans-serif;text-align:center;color:#666;margin:2rem 0}footer a{color:#666}@media screen and (max-width: 799px){header h1{font-size:8rem}hr{margin:2rem 0}#fork-this{display:none}#share #fb{top:-8px}.button{margin-left:0;margin-right:0;width:100%}.button{font-size:1.3rem;padding:1.4rem 2rem}}@media screen and (max-width: 410px){header h1{font-size:5rem}.box{width:100%;margin-left:0;margin-right:0}}
	
	/* Media Queries
--------------------------------------- */
/*
Note: The best way to structure the use of media queries is to create the queries
near the relevant code. For example, if you wanted to change the styles for buttons
on small devices, paste the mobile query code up in the buttons section and style it
there.
*/


/* Larger than mobile */
@media (min-width: 400px) {}

/* Larger than phablet (also point when grid becomes active) */
@media (min-width: 550px) {}

/* Larger than tablet */
@media (min-width: 750px) {}

/* Larger than desktop */
@media (min-width: 1000px) {}

/* Larger than Desktop HD */
@media (min-width: 1200px) {}