:root {
  --var-background-blue: #162D73;
  --var-light-blue: #41bceb;
}

/*
* 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
––––––––––––––––––––––––––––––––––––––––––––––––––t
- Grid
- Base Styles
- Typography
- Links
- Buttons
- Forms
- Lists
- Code
- Tables
- Spacing
- Utilities
- Clearing
- Media Queries
*/

html, body { max-width: 100%; overflow-x: hidden; text-wrap: auto;}

.services-hero {
 background: url(https://bellasonrisadental.com/images/bella-sonrisa-dental-hero.png);
 background-repeat: no-repeat;
 background-size: cover;
 border-top-left-radius: 70px;
 border-bottom-left-radius: 70px;
 height: 700px;
 background-position: center;
 width: 59% !important;
}

.services-hero img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 20px 0;
  display: block;
}

@media (max-width:1199px) {
	.services-hero {
	width: 90% !important;
	border-radius: 70px;
    margin-top: 7% !important;
    height: 500px;
	}
}

@media (max-width:500px) {
	.services-hero {
	width: 100% !important;
	border-radius: 50px;
    margin-top: 10% !important;
    height: 300px;
	}
}
/* Grid
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.container {
  position: relative;
  width: 100%;
  max-width: 1400px;
  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: 90%;
    padding: 0; }
}

/* For devices larger than 550px */
@media (min-width: 500px) {
  .container {
    width: 90%; }
  .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: 'Poppins', sans-serif;
  color: #222; 
  margin: 0;
}

/* Typography
–––––––––––––––––––––––––––––––––––––––––––––––––– */
h1, h2, h3, h4, h5, h6 {
  font-family: "Montserrat", sans-serif;
  margin-top: 0;
  font-weight: 500; 
}
h1 { font-size: 4.0rem; line-height: 1.2;  letter-spacing: 0rem;}
h2 { font-size: 3.6rem; line-height: 1.25; letter-spacing: -.1rem; font-weight: 500; }
h3 { font-size: 3.6rem; line-height: 1.25;  letter-spacing: -.1rem; font-weight: 600; }
h4 { font-size: 2.4rem; line-height: 1.35; 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: 4.0rem; }
  h2 { font-size: 3.6rem; }
  h3 { font-size: 3.6rem; }
  h4 { font-size: 2.4rem; }
  h5 { font-size: 1.8rem; }
  h6 { font-size: 1.5rem; }
}

@media (max-width: 450px) {
  h1 {font-size: 3.0rem;}
}

p {
  margin-top: 0; }


/* Links
–––––––––––––––––––––––––––––––––––––––––––––––––– */
a {
  color: #41bceb;
  text-decoration: none;
  font-family: "Montserrat", sans-serif;}
a:hover {
  color: #162D73;
  transition: 0.5s}

/* Buttons
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.button,
button,
input[type="submit"],
input[type="reset"],
input[type="button"] {
  display: inline-flex;
  color: #fff;
  text-align: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 600;
  line-height: normal;
  padding: 12px 20px;
  letter-spacing: .1rem;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  background-color: #162D73;
  border-radius: 8px;
  border: 3px solid #162D73;
  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: #162D73;
  background-color: #fff;
  border-color: #162D73;
  outline: 0;
  transition: 0.5s;}
.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: #162D73;
  border-color: #162D73; }
.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: #162D73;
  background-color:  #fff;
  border-color: #162D73;
	transition: 0.5s; }

.button-inverse,
button,
input[type="submit"],
input[type="reset"],
input[type="button"] {
  display: inline-flex;
  color: #162D73;
  text-align: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 600;
  line-height: normal;
  padding: 12px 20px;
  letter-spacing: .1rem;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  background-color: #fff;
  border-radius: 8px;
  border: 3px solid #162D73;
  cursor: pointer;
  box-sizing: border-box; }
.button-inverse:hover,
button:hover,
input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover,
.button-inverse:focus,
button:focus,
input[type="submit"]:focus,
input[type="reset"]:focus,
input[type="button"]:focus {
  color: #fff;
  background-color: #162D73;
  border-color: #162D73;
  outline: 0;
  transition: 0.5s;}
.button-inverse.button-primary,
button.button-primary,
input[type="submit"].button-primary,
input[type="reset"].button-primary,
input[type="button"].button-primary {
  color: #162D73;
  background-color: #fff;
  border-color: #fff; }
.button-inverse.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:  #162D73;
  border-color: #162D73;
	transition: 0.5s; }

/* 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 #36454F;
  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; }

.nobr{
  white-space: nowrap;
}

.center {
  text-align: center;
}

.resize {
  width: 100%;
  height: auto;
}

.bisque {
  background: #ffe4c4;
}

.grey-bg {
  background: #36454F;
}

.background-light-blue {
  background-color: #eeffff;
}

.background-white {
  background-color: #fff;
}

.flex {
  display: flex;
}

@media (max-width: 650px) {
  .flex {
  display: block;
}
}
.middle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  padding: 3%;
}
span.middle{
  color: #fff;
  padding: 0.5%;
}

a.middle{
  color: #fff;
  padding: 0.5%;
}

p.middle{
  color: #fff;
  padding: 0.5%;
}

.desktop-preheader {
	align-items: center;
	font-size: 1.5rem;
}

@media (min-width:1200px) {
	.mobile-preheader {
	display: none !important;
	}
}

@media (max-width: 500px) {
	.mobile-preheader {
	display: none !important;
	}
}

@media (max-width:1199px) {
	.desktop-preheader {
	display: none !important;
	}
}

.general-padding {
  padding: 3% 0;
}

.responsive-iframe {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding-top: 84.1%; 
}

/* Then style the iframe to fit in the container div with full height and width */
.responsive-iframe iframe {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.beside-form {
  width: calc(100% - 500px);
  float: left;
}

.screenform {
  width: 500px;
  float: left;
}

@media (max-width: 1199px) {
  .beside-form, .screenform {
  width: 100%;
  float: left;
}
}

.cover-img {
	width:100%;
	object-fit: cover;
    object-position: center;
    height: 800px;
}

@media (max-width:1199px) {
	.cover-img {
	border-radius: 50px;
	height: 500px !important;
	width: 90%;
	}
}

@media (max-width:500px) {
	.cover-img {
	border-radius: 50px;
	height: 300px !important;
	}
}

/* Start hidden and shifted left */
.fade-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* When active, fade in and slide to normal position */
.fade-in-left.active {
    opacity: 1;
    transform: translateX(0);
}

/* Start hidden and shifted right */
.fade-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* When active, fade in and slide to normal position */
.fade-in-right.active {
    opacity: 1;
    transform: translateX(0);
}

.img-left img, .img-right img {
	width: 60%;
	height: auto;
}
@media (max-width: 800px) {
.middle{

font-size: 16px;

    }
}
@media (min-width: 550px) {
.img-right {
	float: right;
	padding-left: 2%;
}

.img-left {
	float: left;
	padding-right: 2%;
}

.img-left img, .img-right img {
	width: 250px;
	height: auto;
}
}
@media (max-width: 500px) {
.logo img{
width: 200px
}
.middle{
  text-align: center;
  font-size: 16px !important;
  padding: 3%;
    }
.middle a, p{
  padding:1%;
  font-size:16px !important;
	}
}
/* Misc
–––––––––––––––––––––––––––––––––––––––––––––––––– */
hr {
  margin-top: 3rem;
  margin-bottom: 3.5rem;
  border-width: 0;
  border-top: 1px solid #E1E1E1; }


/* Clearing
–––––––––––––––––––––––––––––––––––––––––––––––––– */

/* Self Clearing Goodness */
.container:after,
.row:after,
.u-cf {
  content: "";
  display: table;
  clear: both; }

/* Header
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.header {
  font-size: 1.8rem;
}

.header a:hover {
	color:#41bceb !important;
	transition: 0.5s
}

.header-vcenter {
	padding-top: 1%;
	padding-bottom: 1%;
	margin: auto;
}

.pre-header {
	color:#162D73;
	margin: 0.75% 0;
	text-align:center;
	font-weight: 700;
}

.google-translate {
	padding-top:1.5%;
}

@media only screen and (max-width:950px){
	.pre-header-responsive {
	width: 100% !important;
	text-align: center !important;
	display:block;
	margin-left: 0px;
}
	.google-translate {
	margin: 0px;
	padding-top: 0%;
	padding-bottom: 1.5%;
	}
}

.logo {
  display: flex;
  align-items: baseline;
}

.logo img {
  width: 100px;
}

.logo h2 {
  white-space: nowrap;
  color: #36454F;
  padding-left: 8px;
}

.social-icons {
	width: 20px;
	height: 20px;
	background-color: #fff;
    border-radius: 50%;
    padding: 0.5rem;
    color: #41bceb;
    text-align: center;
    justify-content: center;
    align-items: center;
	display: inline-flex;
}

.social-icons:hover {
	color:#162D73;
	transition:0.5s;
}

@media (max-width:500px) {
	.social-icons {
	width:20px;
	height: 20px;
	}
}

.social-icons-footer {
	width: 30px;
	height: 30px;
	background-color: #fff;
    border-radius: 50%;
    padding: 0.5rem;
    color: #41bceb;
    text-align: center;
    justify-content: center;
    align-items: center;
	display: inline-flex;
	border: 2px solid #41BCEB;
}

.social-icons-footer:hover {
	color: #162D73;
	border: 2px solid #162D73;
	transition: 0.5s;
}

/* Nav - added by Nihar April 29
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.menu{
  padding-top: 2%;
}
.logo img {
 width: 100%;
    }
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  flex-direction: row;
}

.nav-menu {
  flex-grow: 2;
  padding: 0 2%;
}

/* Navigation Bar */
nav {
  /* max-height: 150px; */
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: stretch;
  transition: opacity 2s;
  width: 90%;
  margin: auto;
}

nav img {
  max-height: 115px;
}

.topnav {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  max-width: 75%;
  list-style-type: none;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 18px;
  margin-bottom: 0;
}

.topnav > li {
  display: flex;
  align-items: center;
  overflow: visible;
}

.topnav > li:not(.nav-book-appt):hover {
    border-bottom: 2px solid var(--var-light-blue);
}

.topnav a {
  margin: 0 0.5rem;
  color: var(--var-background-blue);
}

.topnav a:hover {
	color: var(--var-light-blue);
	transition: 0.5s;
}

.nav-book-appt > a.button.book-appt:hover {
    background-color: #fff;
    color: #162D73 !important;
    border-color: #162D73;
	transition: 0.5s;
}

.topnav a.button.book-appt:hover,
.topnav a.button.book-appt:focus {
    background-color: #fff !important;
    color: #162D73 !important;
	align-self: center;
	transition: 0.5s;
}

a.button.book-appt:hover,
a.button.book-appt:focus {
    background-color: #fff !important;
    color: #162D73 !important;
    border-color: #162D73 !important;
	transition: 0.5s;
	}

.nav-book-appt > a.button-inverse.book-appt-inverse:hover {
    background-color: #162D73;
    color: #fff !important;
    border-color: #fff;
	transition: 0.5s;
}

.topnav a.button-inverse.book-appt-inverse:hover,
.topnav a.button-inverse.book-appt-inverse:focus {
    background-color: #162D73 !important;
    color: #fff !important;
	align-self: center;
	transition: 0.5s;
}

a.button-inverse.book-appt-inverse:hover,
a.button-inverse.book-appt-inverse:focus {
    background-color: #162D73 !important;
    color: #fff !important;
    border-color: #fff!important;
	transition: 0.5s;
	}

.topnav,
.topnav > li,
.topnav a {
    overflow: visible !important;
}

.caps {
    text-transform: uppercase;
}

@media only screen and (max-width: 1199px) {
  .topnav{
    width: 90%;
  }
}

@media only screen and (max-width: 1199px) {
  nav {
    flex-wrap: wrap;
  }

  nav img {
    max-width: 150px;
    margin-left: 25%;
  }

  nav a:hover {
    color: var(--var-background-blue) !important;
	border-bottom:none !important;
	transition: 0.5s;
  }

  .topnav {
    display: none;
    /* flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;*/
    text-align: right;
    order: 99;
    width: 100%;
    z-index: 100;
    padding: 1rem;
	border-bottom: none;
  }

  .topnav li {
    margin: 1.5rem 0;
	justify-content: center;
  }

  .topnav a {
    color: var(--var-background-blue);
  }

  .topnav a:hover {
	color: var(--var-light-blue) !important;
  }

  .topnav > li:hover {
    color: var(--var-light-blue);
    border-bottom: 2px solid transparent;
	transition: 0.5s;
  }

	
}

@media (max-width: 650px) {
  .logo {
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 5%;}
  .nav-container {
    width: 100%;
    flex-direction: column;}
  .nav-logo, .nav-menu {
    text-align: center;}
	nav img {
	width:150px;
	margin-left: 15%;
	}
}

.navbar {
	overflow: hidden;
  display: flex;
  justify-content: flex-start;
  align-content: center;
}

.navbar a {
  color: #006792;
  text-align: center;
  padding: 0.5% 2.5%;
  text-decoration: none;
  font-size: calc(10px + (15 - 10) * ((100vw - 300px) / (1600 - 300)));
  line-height: 1.7rem;
  display: block;
  white-space: nowrap;
  font-weight: 400;
}

.drop-content {
  text-overflow: clip;
}

.navbar a:hover, .dropdown:hover .dropbtn {
	color:#162D73; 
}

.navbar-services {
  overflow: hidden;
  display: flex;
  padding: 2% 0;
}

.navbar-services a {
  color: #ffffff;
  text-align: center;
  padding: 1%;
  text-decoration: none;
  font-size: calc(10px + (15 - 10) * ((100vw - 300px) / (1600 - 300)));
	font-weight:600;
  display: block;
}

.navbar-services a:hover, .dropdown:hover .dropbtn {
	color:#162D73; 
}

/* Hide the link that should open and close the topnav on small screens */
.navbar .icon /*.navbar-services*/{
  display: none
}

@media (min-width:1199px) {
	.navbar_contact-info {
	display: none;
	}
}

/* Dropdown container - needed to position the dropdown content */
.dropdown {
  overflow: hidden;
  padding: 0.4% 1%;
  z-index: 100;
}

/* Style the dropdown button to fit inside the topnav */
.dropdown .dropbtn {
  font-size: calc(10px + (15 - 10) * ((100vw - 300px) / (1600 - 300)));
  border: none;
  outline: none;
  color: #ffffff;
  background-color: inherit;
  font-family: inherit;
  font-weight: 600;
  margin: 0;
}

/* Style the dropdown content (hidden by default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #36454F;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
  word-wrap: normal;
}

/* Style the links inside the dropdown */
.dropdown-content a {
  float: none;
  color: #ffffff;
  padding: 4%;
  text-decoration: none;
  display: block;
  text-align: left;
}

/* Add a grey background to dropdown links on hover */
.dropdown-content a:hover {
  background-color: #ddd;
  color: #000000;
}

/* Show the dropdown menu when the user moves the mouse over the dropdown button */
.dropdown:hover .dropdown-content {
  display: block;
}

/* When the screen is less than 600 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the topnav (.icon) */
@media screen and (max-width: 1199px) {
  .navbar a, .dropdown .dropbtn {
    display: none;
  }
  .navbar a.icon {
    display: block;
    font-size: 2.5rem;
    padding-bottom: 10%;
  }
}

/* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
@media screen and (max-width: 1199px) {
  .navbar {
    justify-content: center;
  }
  .navbar.responsive {
    position: relative;
    display: block;
    padding-top: 50px;
  }
  .navbar.responsive a.icon {
    position: absolute;
    right: 0;
    top: 0;
    font-size: 2.5rem;
  }
  .navbar.responsive a {
    float: none;
    display: block;
    text-align: center;
    font-size: 16px;
  }
  .navbar.responsive .dropdown {float: none;}
  .navbar.responsive .dropdown-content {position: relative;}
  .navbar.responsive .dropdown .dropbtn {
    display: block;
    width: 100%;
    text-align: left;
    font-size: 16px;
  }
  .dropdown-content a {
    padding: 1%;
  }
  
  .dropdown:hover .dropdown-content {
    display: none;
  }
}

.contact {
  background-color: #fff;
  color: #000;
  font-size: 1.8rem;
  font-weight: bold;
  text-align: center;
  padding: 1% 0;
}
.contact a{
  color: #000;
  text-decoration: none;
}
.contact a:hover{
  color: #2999D3;
}
@media (max-width: 500px){
  .contact {
    font-size: 1.5rem;}
}
.appt-header {
  flex-grow: 1;
}  
.appt-header button{
  background-color: #36454F;
  color: #fff;
  font-size: 2.5vmin;
  font-weight: 500;
  white-space: normal;
  line-height: normal;
  border: none;
  height: auto;
  padding: 2% 4%;
  text-transform: none;
  float: right;
}
  

/* Index - Hero
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.hero-container {
  width: 100%;
  height: 500px;
  background-image: url("file://///OFFICEMONKEY/www/images/background.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

.hero-content{
  padding-top: 4%;
  width: 40%;
  margin-left: 6%;
}

@media (max-width: 1199px) {
  .hero-content {
    top: 10%;
    left: 5%;}
}
@media (max-width: 1199px) {
  .hero-container{
    height: 450px;
  }
  .hero-content {	
  width: 90% !important;
  line-height: 1.4;
	}
}
@media (max-width: 500px){
  .hero-container {
   height: 250px;}
  .hero-content {
	width: 90%;
	line-height: 1.3;
	}
}

/* Index- CTA
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.cta {
  display: flex;
  justify-content: space-around;
}

.cta div {
  width: 30%;
  text-align: center;
  background-image: linear-gradient(to top right, #3a3476, #36454F );
  color: #ffffff;
  padding: 3% 0;
  border-radius: 25px;
}

@media (max-width: 650px) {
  .cta {
  display: block;
}

.cta div {
  width: 100%;
  }
}
.cta div a {
  color: #ffffff;
  font-size: 2.0rem;
}

.cta div a:hover {
  color: #333333;
}

.cta-container {
  margin-bottom: 2%;
  background: #162D73;
  border-radius: 50px;
}

.cta-content{
  padding: 3%;
  color: #fff;
  font-size: 2.5rem;
}
.cta-content a{
  color: #fff;
  font-weight: bold;
  text-decoration: none;
}
.cta-content a:hover {
  color: #000;
  transition: 0.2s;
}

@media (max-width:1199px) {
  .cta-content {
    font-size: 1.7rem;
	display: block !important;
	padding: 5%;}
}

@media (max-width: 500px) {
  .cta-container {
    border-radius: 50px;
	margin-bottom: 10%;
	width: 90%!important;
    }
  .cta-content {
    font-size: 2.0rem;}
}

@media (max-width: 1199px) {
  .book-cta-icon {
	width: 20% !important;
	}

  .book-cta-title {
	width: 75% !important;
	}

  .book-cta-button {
	width: 100% !important;
	text-align: center !important;
	}
}

@media (max-width: 900px) {
  .book-cta-icon {
	width: 25% !important;
	}

  .book-cta-title {
	width: 75% !important;
	}

  .book-cta-button {
	width: 100% !important;
	text-align: center !important;
	margin-top: 5%;
	}
}

@media (max-width: 500px) {
  .book-cta-icon {
	width: 50% !important;
	margin: 0 35%;
	}
  .book-cta-title {
	width: 100% !important;
	text-align: center;
	margin-top: 5%;
	}
}

/* Box
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.box {
  margin-bottom: 0;
  position: relative;
}
.box-content {
  border: 2px solid #2999D3;
  border-radius: 25px;
  position: absolute;
  padding: 2%;
  text-align:center;
}
@media (max-width: 500px) {
  .box-content{
    border: none;}
}

.box-content-whitening {
  border: 2px solid #2999D3;
  border-radius: 25px;
  position: absolute;
  padding: 2%;
  text-align: center;
}

@media (max-width: 500px) {
  .box-content-whitening{
    border: none;
    text-align: right;}
}

/* Content
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.intro-content {
  font-size: 2.0rem;
}
@media (max-width: 500px) {
  .intro-content{
    font-size: 1.7rem;}
}

.main-content {
  padding: 2% 0;
}
.main-content h1{
  font-size: 3.0rem; color: #41BCEB; font-weight: 700;
}

.main-content h3{
  font-size: 2.0rem; color: #162D73; font-weight:700;
}
  
.main-content h2, h4{
  font-size: 2.0rem; color: #162D73;
}
.main-content li{
  list-style-type: disc;
  list-style-position: inside;
  font-size: 1.8rem;
  font-weight: 600;
  color: #162D73;
  
}

.main-content li::marker {
	content:"\2714";
	color:#41BCEB;
	font-weight: 900;
}

.main-content a{
  font-weight: bold;
  color: #41BCEB;
  text-wrap:auto;
}
.main-content a:hover{
  color: #1A388B;
}

@media (max-width: 1199px) {
	.main-content h2, h4{
		font-size: 3.0rem !important;
	}
	
	.main-content h1 {
		font-size: 1.7rem !important;
	}
}

.service-content {
  padding: 2% 0;
}
.service-content h1{
  font-size: 3.0rem; color: #41BCEB; font-weight: 700;
}

.service-content h3{
  font-size: 2.0rem; color: #162D73; font-weight:700;
}
  
.service-content h2, h4{
  font-size: 2.0rem; color: #162D73;
}

.service-content li {
  list-style-type: disc;
  list-style-position: inside;
  font-size: 1.8rem;
}

.service-content li::marker {
	content:"\2714";
	color:#41BCEB;
	font-weight: 900;
}

.service-content a{
  font-weight: bold;
  color: #41BCEB;
  text-wrap:auto;
}
.service-content a:hover{
  color: #1A388B;
}


@media (max-width: 500px){
  .main-content {
    padding: 2% 5%;
  }
  .service-content {
	padding: 2% 5%;
  }
}

/* Right image column */
.hero-image-wrapper {
  display: flex;
  justify-content: center;
}

.hero-image {
  width: 100%;
  max-width: 480px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.hero-image img {
  display: block;
  width: 100%;
  height: auto;
}

.services-image {
  max-width: 250px;
  float: right;
  margin-left: 2%;
}
@media (max-width: 500px){
  .services-image {
    float: none;
    margin-left: auto;
    margin-right: auto;
  }
}

.form {
  border: 2px solid #2999D3;
  border-radius: 25px;
  padding: 2%;
}

.alert {
  padding: 10px;
  background-color: #E41616;
  color: #FFF;
  text-align: center;
  font-size: 14pt;
}

.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;
}

.thankyou h1 {
	color:#36454F;
	font-weight:600;
}

/* Sidebar
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.sidebar {
	padding: 2% 0;
	text-align:center;
	font-size:1.6rem;
	color:#fff;
}	

.sidebar ul{
	margin-top:0;
	list-style:none;
	padding-inline-start: 0px;
}

.sidebar li{
	background-color: #424174;
	color:#fff;
	margin-bottom:2%;
	padding: 5px 5px;
}

.sidebar li:hover{
	filter: brightness(120%);
	color:#162D73;
}

.sidebar a {
  display: block;
  text-decoration:none;
  color:#fff;
}

.sidebar a:hover {
	color: #162D73;
 }
 
.sidebar h1 {
	color:#006b91;
}

/* Index - Teeth Whitening Promo
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.whitening-container {
  width: 100%;
  height: 500px;
  background-image: url("file://///OFFICEMONKEY/www/images/hero-whitening.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

.whitening-content{
  text-align: center;
  color: #1A388B;
  font-size: 1.8rem;
  text-shadow: 2px 2px 5px white;
  top: 35%;
  left: 65%;
}

@media (max-width: 950px) {
  .whitening-content {
    left: 45%;}
}
@media (max-width: 500px) {
  .whitening-container {
    height: 300px;}
  .whitening-content {
    top: 15%;
    left: 0%;
    text-align: right;
    color: #fff;
    text-shadow: 2px 2px 5px black;}
  .whitening-content a{
    text-shadow: none;}
  .whitening-content h3{
    font-size: 2.5rem;}
}
@media (max-width: 400px) {
  .whitening-content {
    left: 0%;
  }
}

/* Index - Services
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.feature-service-container{
  display: flex;
  justify-content: space-between;
  padding-bottom: 2%;
  align-items: stretch;
  padding-right:1%;
}

.feature-service-item{
  box-shadow: 0px 0px 5px 2px #00000042;
  border-radius: 50px;
  padding: max(20px,2vw);
  flex: 1;
  align-items: stretch;
  justify-content: center;
  flex-direction: column;
  margin: 0px 15px;
  transition: 400ms;
  height: 525px;
}
.feature-service-item:hover {
	transform: scale(1.05);
	box-shadow: 0px 0px 5px 2px #00162D73;
	transition: 0.5s
}

.feature-service-item p {
    font-family: 'Poppins', sans-serif;
    color: #222;
	font-weight: normal;
}

.feature-service-item img {
	margin-bottom: 8%;
}

@media only screen and (max-width:1199px) {
	.feature-service-container {
	display: block !important;
	width:100%;
	}

.feature-service-item{
  box-shadow: 0px 0px 5px 2px #00000042;
  border-radius: 50px;
  padding: max(20px,2vw);
  flex: 1;
  align-items: stretch;
  justify-content: center;
  flex-direction: column;
  margin: 15px;
  transition: 400ms;
  width: 45% !important;
  height:425px;
}
.feature-service-item:hover {
	transform: scale(1.05);
	box-shadow: 0px 0px 5px 2px #00162D73;
	transition: 0.5s
}



.feature-service-item p {
    font-family: 'Poppins', sans-serif;
    color: #222;
	font-weight: normal;
}
}

@media only screen and (max-width:500px) {
	.feature-service-container {
	width: 90% !important;
	}
}

@media only screen and (max-width:966px) {
	.feature-service-item {
		width: 45% !important;
		height:415px;
	}
}

@media only screen and (min-width:1440px) {
	.feature-service-item {
		width: 22% !important;
		margin-left:2%;
		margin-top: 0;
		margin-bottom: 0%;
	}
}

@media only screen and (max-width:666px) {
	.feature-service-item {
	width:95% !important;
	height:450px;
	}
}

.feature-service-item-no-hover{
  box-shadow: 0px 0px 5px 2px #00000042;
  border-radius: 50px;
  padding: max(20px,2vw);
  flex: 1;
  align-items: stretch;
  justify-content: center;
  flex-direction: column;
  margin: 0px 15px;
  transition: 400ms;
}

.feature-service-item-no-hover h3 {
    font-size: 2.5rem;
}

.feature-service-item-no-hover p {
    font-family: 'Poppins', sans-serif;
    color: #222;
	font-weight: normal;
}

.feature-service-item-no-hover img {
	margin-bottom: 5%;
}

@media only screen and (max-width:1199px) {

.feature-service-item-no-hover{
  box-shadow: 0px 0px 5px 2px #00000042;
  border-radius: 50px;
  padding: max(20px,2vw);
  flex: 1;
  align-items: stretch;
  justify-content: center;
  flex-direction: column;
  margin: 15px;
  transition: 400ms;
  width: 95% !important;
}

.feature-service-item-no-hover p {
    font-family: 'Poppins', sans-serif;
    color: #222;
	font-weight: normal;
}
}

@media only screen and (max-width:966px) {
	.feature-service-item-no-hover {
		width: 95% !important;
		margin-top: 5%;
	}
}

@media only screen and (min-width:1440px) {
	.feature-service-item-no-hover {
		width: 95% !important;
		margin-left:2%;
		margin-top: 0;
		margin-bottom: 0%;
	}
}

@media only screen and (max-width:500px) {
	.feature-service-item-no-hover {
	width:95% !important;
	margin-top: 8% !important;
	margin-left: 6% !important;
	}
}

.feature-service-img {
	border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .15);
    margin-bottom: 10%;
}

.services-general-nav {
	text-align:center;
	box-shadow: 0px 0px 5px 2px #00000042;
    border-radius: 50px;
    padding-top: 1.5%;
	margin: 0% 2%;
}

.services-general-nav:hover {
	transform: scale(1.05);
	box-shadow: 0px 0px 5px 2px #00162D73;
	transition: 0.5s
}

.services-general-nav-padding-bottom {
	padding-bottom: 1%;
	}
	
.services-general-nav-padding-top {
	padding-top: 1%;
	}

@media only screen and (max-width:1199px) {
	.services-general-nav {
	width:45% !important;
	margin: 1% 2%;
	}
	.services-general-nav-padding-bottom {
	padding-bottom: 0px;
	}
	.services-general-nav-padding-top {
	padding-top: 0px;
	}
}

@media only screen and (max-width:500px) {
	.services-general-nav {
	width: 90% !important;
	margin: 2% 2%;
	padding-top: 5%;
	}
}

.services {
  text-align: center;
  font-size: 1.8rem;
}
.services h4 {
  color: #1A388B;
}
.services img{
  border-radius: 10%;
  max-width: 200px;
  max-height: 100px;
  margin: 2% 0;
}

.services-button {
  display: inline-block;
  height: 38px;
  padding: 0 30px;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  line-height: 38px;
  letter-spacing: .1rem;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  box-sizing: border-box;
  margin: 2% 0;
  color: #fff;
  border-radius: 20px;
  background-image: linear-gradient(to right, #334DA1 0%, #5DB1DF 51%, #334DA1 100%);
  transition: 0.5s;
  background-size: 200% auto;
}
.services-button:hover {
  background-position: right center;
}


.services2 {
	background: #36454F; /* For browsers that do not support gradients */
   /* background: linear-gradient(#36454F, #22b7ec); Standard syntax (must be last) */
	padding:2% 1%;
	font-size:1.5rem;
}

.services2 a{
	color:#fff;
	text-decoration:none;
}

.services2 a:hover {
    color: #222282; }

.services-container {
	width: 90%;
    margin: auto;
    padding: 0% 2%;
}

/*.services2 ul{
	list-style-image:url(../images/logo.png);
}/*

.services-images {
	width:30%;
	float:right;
	margin-left: 1%;
	text-align:right;
}
/*
@media (max-width: 550px) {
.services-images {
	width: 100%;
}
}
*/	
	
/* Content full width - mobile */
@media only screen and (max-width:1199px) {
	.mobile-content-img {
	width:100% !important;
	text-align:center;
	margin-left:0;
	}
}

@media only screen and (max-width:500px) {
	.mobile-content-img {
	width:100% !important;
	margin-top: 10%;
	text-align:center;
	margin-left:0;
	}
}

@media only screen and (max-width:1199px) {
	.mobile-content {
	width:90% !important;
	margin-top: 3%;
	}
}

@media only screen and (max-width:1199px) {
	.mobile-content-with-img {
	width:85% !important;
	margin-top: 3%;
	margin-left: 9% !important;
	}
}

/* Google Map
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.map{  
  margin: -1% 0;
  padding: 0;
}

.google-directions {
	text-align:center !important;
	display:flex;
	justify-content:center;
	margin-top:2%;
	border-top: 2px solid #41bceb;
	padding-top:2%;
}

@media (max-width: 500px) {
	.google-directions {
	margin-top: 10%;
	}
}

/* Footer
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.footer {
    background-color: #fff;
  color: #000;
  padding: 2% 0;
}
.footer a{
  color: #000;
  text-decoration: none;
}
.footer a:hover{
  color: #40BCEB;
  transition: 0.2s;
}

.footer h3 {
	color:#162D73;
	font-weight: 500;
	font-size: 1.9rem;
}

.footer ul{
  list-style-type:none;
  line-height: 1.6rem;
  padding-top: 2%;
}
.footer td{
  border-bottom: none;
  padding: 2px 10px 2px 0px;
}

.footer-table {
  line-height: 1.4;
}

.footer-logo{
 
  width: 100%;
}

.footer2 {
  background-color: #162D73;
  color: #fff;
  font-size: 1.2rem;
  padding: 1% 0 1%;
}

.uponline{
  text-align:right;
}
.uponline img{
  max-width:80px;
}
.footer-logo {
    width: 100%;}
@media (max-width: 780px){
  .footer-logo {
    max-width: 200px;}
  .footer {
    font-size: 1.6rem;}
}
@media (max-width: 450px){
  .footer {
    text-align: center;}
  .footer-table {
    margin-left: auto;
    margin-right: auto;}
  .footer2, .uponline {
    text-align: center;
  }
}
	
@media (max-width:1199px){
	.footer-responsive1 {
	width: 50% !important;
	margin-top: 4%;
	margin-left: 0.5%;
		}
	.footer-responsive1 p{
	width: 80%;
	}
	
	.footer-responsive2 {
	width: 40% !important;
	margin-top: 4%;
		}
	}

@media (max-width: 500px){
	.footer-responsive1 {
	width: 100% !important;
	margin-bottom:4%;
	}
	.footer-responsive2 {
	width: 100% !important;
	margin-bottom: 5%;
	}
	.footer-responsive1 p {
	width:100% !important;
	}
	.hidden-column {
	display: none;
	}
}

/* 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) {}

/* Landing Page
----------------------------------------------------- */
.lp-sidebar {
  position: sticky !important;
  position: -webkit-sticky;
  top: 0;
	border: 2px solid #36454F;
  border-radius: 15px;
	padding:2%;
	text-align:center;
  float: right;
  margin-left: 2%;
  width: 35%;
}

.lp-sidebar input[type="email"],
input[type="number"],
input[type="search"],
input[type="text"],
input[type="tel"],
input[type="url"],
input[type="password"],
textarea,
select {
	color:#333;
}

.main-lp{
    width:65%;
	float:left;}

.main-lp h1{
	font-size: 3.0rem; color: #41BCEB; font-weight: 700;
}
.main-lp a {
    font-weight: bold;
    text-decoration: none;
}
		
.bio-lp{
	padding:2%;
	background-color: #36454F;
}

.bio-lp h1{
	color:#ffffff;
	font-weight: 600;
}
.bio-lp p {
	color:#fff;
}
	
@media screen and (max-width:2000px){
	.main-lp{
		width: 58%;
	}}
	
@media screen and (max-width:1310px){
	.main-lp{
		width:55%;
	}}	
	
@media screen and (max-width:1216px){
	.lp-sidebar{
		width:40%;
	}}		

@media screen and (max-width:770px){
	.lp-sidebar {
		width:100%;
		position:relative;
		padding:0;
	}
	.main-lp {
		width:100%;
        padding-top: 2%;}}

@media (max-width:650px){
.right-lp{
	width:100%;
	text-align:center;
	margin-left:0;
}
.left-lp{
	width:100%;
	text-align:center;
	margin-right:0;}
}

.google-maps-full {
    position: relative;
    padding-bottom: 25%;
    height: 0;
    overflow: hidden;
}

@media (max-width:500px) {
	.google-maps-full {
	position: relative;
    padding-bottom: 25%;
	height: 475px;
    overflow: hidden;
}
	.google-directions-form {
	margin-bottom:0px;
	}
}


/* Testimonial Slider
----------------------------------------------------- */
.testim{
  width: 100%;
  border-radius: 40px;
}
.testim .wrap{
  position: relative;
  width: 100%;
  max-width: 1020px;
  margin: auto;
  height: auto;  
}
.testim .arrow{
  display: block;
  position: absolute;
  color: #162D73;
  cursor: pointer;
  font-size: 2em;
  top: 50%;
  transform: translateY(-50%);
  transition: all .3s ease-in-out;
  padding: 5px;
  z-index: 22222222;
}
.testim .arrow:before{
  cursor: pointer;
}
.testim .arrow.left{
  left: 10px;
}
.testim .arrow.right{
    right: 10px;
}
.testim .arrow:hover{
  color: #41bceb;
}
.testim .dots{
  text-align: center;
  position: absolute;
  width: 100%;
  bottom: -20px;
  left: 0;
  display: block;
  z-index: 3333;
  height: 12px;
}
.testim .dots .dot{
  list-style-type: none;
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid #41bceb;
  margin: 0 10px;
  cursor: pointer;
  transition: all .5s ease-in-out;
  position: relative;
}
.testim .dots .dot.active,
.testim .dots .dot:hover{
  background: #41bceb;
  border-color: #41bceb;
}

.testim .dots .dot.active{
  animation: testim-scale .5s ease-in-out forwards;
}
.testim .cont{
  position: relative;
  overflow: hidden;
}
.testim .cont > div{
  text-align: center;
  position: absolute;
  top: 46px;
  left: 0;
  padding: 15px 0 30px 0;
  opacity: 0;
  height: 250px;
}
.testim .cont > div.inactive{
  opacity: 1;
}
.testim .cont > div.active{
  position: relative;
  opacity: 1;
}
.testim .cont div .img img{
  display: block;
  width: 100px;
  height: 100px;
  margin: auto;
  border-radius: 50%;
}
.testim .cont div h2{
  font-size: 2rem !important;
  margin: 15px 0;
}
.testim .cont div p{
  font-size: 1.15em;
  color: #000;
  width: 80%;
  margin: auto;
}

.testim .cont div.active .img img{
  animation: testim-show .5s ease-in-out forwards;
}
.testim .cont div.active h2{
  animation: testim-content-in .4s ease-in-out forwards;
}
.testim .cont div.active p {
  animation: testim-content-in .5s ease-in-out forwards;
}
.testim .cont div.inactive .img img{
  animation: testim-hide .5s ease-in-out forwards;
}
.testim .cont div.inactive h2{
  animation: testim-content-out .4s ease-in-out forwards;
}
.testim .cont div.inactive p {
  animation: testim-content-out .5s ease-in-out forwards;
}

@keyframes testim-scale {
  0% {
    box-shadow: 0px 0px 0px 0px #eee;
  }
  35% {
    box-shadow: 0px 0px 10px 5px #eee;
  }
  70% {
    box-shadow: 0px 0px 10px 5px #66cccc;
  }
  100% {
    box-shadow: 0px 0px 0px 0px #66cccc;
  }
}

@keyframes testim-content-in {
  from {
    opacity: 0;
    transform: translateY(100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes testim-content-out {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-100%);
  }
}
@keyframes testim-show {
  from {
    opacity: 0;
    transform: scale(0);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes testim-hide {
  from {
    opacity: 1;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(0);
  }
}

/* Responsive */
@media all and (max-width: 1100px) {
  .testim .cont div p{
  font-size: 1em;
  }
}
@media all and (max-width: 500px) {
  .testim .arrow{
    font-size: 1.5rem;
  }
  .testim .cont div p{
    line-height: 25px;
  }
  .testim .wrap{
    height: 450px;
  }
}

@media (max-width: 767px) {
	.testim .cont > div{
	height: 450px !important;
	}
}
	


/* Service Pages */

.hero-services {
 box-shadow: 0px 0px 5px 2px #00000042;
 background-size: cover;
 background-position: center;
 background-repeat: no-repeat;
 height: 500px; 
 width: 100%; 
 position: relative;
 z-index: -1;
 text-align: center;
 justify-content: center;
 display: flex;
 align-items: flex-end;
 color: #fff;
 padding-bottom: 4rem;
}

.hero-services h1{
 font-weight: 700;
 font-size: 6rem;
}

.hero-text-container{
 padding-top: 10%;
}

.services-nav {
	margin: 0% 2%;
}

.services-nav h4 {
	margin-bottom: 2.5rem;
	font-weight: bold;
	margin-top: 20px;
	color: #41bceb;
}
.services-nav h2 {
	border-bottom: 1px solid #41bceb;
	color: #162D73;
	margin-bottom: 0;
	margin-top:20px;
	transition: 0.3s;
  font-weight: bold;
	font-size: 2.0rem !important;
}
.services-nav h2 a:hover, .active, .collapsible:hover {
	color: #41bceb;
	cursor: pointer;
}

.services-nav h2:hover {
	color: #41bceb;
	cursor: pointer;
}

.services-nav h5 {
	border-bottom: 1px solid #41bceb;
	color: #162D73;
	padding-bottom: 1rem;
	margin-bottom: 0;
	margin-top:20px;
	transition: 0.3s;
}
.services-nav li h2 {
    margin-bottom: 0;
    margin-top: 20px;
	font-size: 1.2em;
    line-height: 1.6;
    letter-spacing: 0;
    font-weight: 300;
    border-bottom: 1px solid #41bceb;
	padding-bottom: 1rem;
}

.services-nav, .active, .collapsible:hover {
	border-bottom: none;
}

.services-nav h6 {
	margin-top: 2.5rem;
	margin-bottom: 1rem;
	font-size: 1.2em;
}


.services-nav h5 a:hover, .active, .collapsible:hover {
	color: #162D73;
	cursor: pointer;
}

.services-nav-mobile ul{
	padding:0px;
}

@media screen and (max-width:768px) {
	.services-nav-desktop {
		display:none;
	}
	
	.hero-services {
		height:200px !important;
	}
	
	.hero-services h1 {
		font-size: 3.5rem !important;
	}
}

@media screen and (min-width:769px) {
	.services-nav-mobile {
		display:none;
	}
}

@media screen and (max-width:1199px) {
	.hero-services {
		height: 400px;
	}
	
	.hero-services h1 {
		font-size: 5rem;
	}
}

.content {
  padding: 0 18px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
	list-style: none;
	color: #162D73;
}

.content li {
	border-bottom: 1px solid #41bceb;
	padding-block: 0;
	margin-left: 2rem;
	color: #162D73;
	marker:none;
	list-style: none;
}

.content li::marker {
	content:none;
	color: #41bceb;
}

.content a {
	color: #162D73;
	font-size: 2.0rem;
}

.services-nav .collapsible:before {
  content: '+'; /* Unicode character for "plus" sign (+) */
  font-size: 24px;
  color: #41bceb;
  margin-right: 10px;
}

.services-nav .active:before {
  content: '-'; /* Unicode character for "minus" sign (-) */
	font-size: 24px;
  color: #41bceb;
  margin-right: 10px;
}

.services-nav {
	min-width: 200px;
	flex: 1;
}

.services-nav a:hover{
	color: #41bceb !important;
	cursor: pointer;
}

.horizontal-subnav {
	width: 29% !important;
}

.subnav-dropdown {
	text-align: center;
    box-shadow: 0px 0px 5px 2px #00000042;
    border-radius: 50px;
    padding: 5%;
    margin: 0% 2%;
	border-bottom: none !important;
}

@media screen and (max-width:1199px) {
	.horizontal-subnav {
	width: 95% !important;
	}
	.subnav-dropdown {
	padding: 2% !important;
	margin-top:0px !important;
}
}

.faq li {
	margin:0px;
	border-bottom: none;
	padding-top: 15px;
}

.faq h2 {
	text-align:left;
	border-bottom: none;
	padding: 0px;
	font-size: 2.0rem !important;
}

.faq h2:hover {
	border-bottom: none !important;
}

.faq p {
	padding-top:1%;
	text-align:left;
	font-weight: normal;
	margin-bottom: 0px;
}

.margin-left {
	margin-left: 5%;
}

@media screen and (min-width:500px) {
	.margin-left {
	display:none;
	}
}

@media screen and (max-width:500px) {
	.faq h2 {
	padding: 0% 3% !important;
	}
	.subnav-dropdown {
	padding: 4% !important;
}
}
/*Class to customize li on service page*/

.list-design li{
    font-weight: 200;
    color: #000;

}
.list-design li b{
    font-weight: bold;
    color:#162D73;
}

/* ================================
   DROPDOWN NAVIGATION
================================ */

.main-nav .nav-menu {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav .nav-menu > li {
  position: relative;
}

.main-nav .nav-menu > li > a {
  display: flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
}

/* Arrow */
.dropdown-arrow {
  font-size: 20px;
  line-height: 1;
  transition: transform 0.2s ease;
}

/* Dropdown box */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 15px);
  left: 0;

  min-width: 230px;

  margin: 0;
  padding: 10px 0;

  list-style: none;

  background: #ffffff;
  border-radius: 6px;

  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);

  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);

  transition:
    opacity 0.2s ease,
    visibility 0.2s ease,
    transform 0.2s ease;

  z-index: 9999;
}

/* Dropdown links */
.dropdown-menu li {
  margin: 0;
  padding: 0;
}

.dropdown-menu li a {
  display: block;
  padding: 11px 20px;
  text-align:left;

  color: #162d73;
  text-decoration: none;

  white-space: nowrap;

  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

/* Hover */
.dropdown-menu li a:hover {
  background: #f5f5f5;
  color: #41BCEB;
}

/* Show dropdown on desktop */
.dropdown-nav:hover > .dropdown-menu,
.dropdown-nav:focus-within > .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Rotate arrow */
.dropdown-nav:hover .dropdown-arrow,
.dropdown-nav:focus-within .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-menu > li.dropdown-nav {
    position: relative;
}

.dropdown-menu > li.dropdown-nav > .dropdown-menu {
    position: absolute;
    top: 0;
    left: 100%;
    margin-left: 5px;
    
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
}

.dropdown-menu > li.dropdown-nav:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Arrow for General & Family Dentistry */
.dropdown-menu > li.dropdown-nav > a .dropdown-arrow {
    display: inline-block;
    transition: transform 0.2s ease;
}

/* Rotate counter-clockwise when its second-level menu opens */
.dropdown-menu > li.dropdown-nav:hover > a .dropdown-arrow,
.dropdown-menu > li.dropdown-nav:focus-within > a .dropdown-arrow {
    transform: rotate(-90deg);
}


/* =========================================================
   DESKTOP - 1200px AND ABOVE
   ========================================================= */

@media (min-width: 1200px) {

    .nav-toggle {
        display: none;
    }

    .main-nav .nav-menu {
        display: flex;
    }

}

/* =========================================================
   MOBILE / TABLET HAMBURGER NAV
   1199px AND BELOW
   ========================================================= */

@media screen and (max-width: 1199px) {

    /* =====================================================
       NAV CONTAINER
       ===================================================== */

    .main-nav {
        position: relative;
        width: 100%;
    }


    /* =====================================================
       HAMBURGER BUTTON
       ===================================================== */

    .nav-toggle {
        display: flex !important;

        flex-direction: column;
        justify-content: center;
        align-items: center;

        width: 45px;
        height: 45px;

        padding: 0;
        margin: 0;

        position: absolute;
        top: 50%;
        right: 20px;

        transform: translateY(-50%);

        background: transparent !important;
        border: none;

        cursor: pointer;

        z-index: 999999;
    }

    .nav-toggle span {
        display: block;

        width: 28px;
        height: 3px;

        margin: 3px 0;

        background: #162d73;

        border-radius: 2px;

        transition: all .25s ease;
    }


    /* Hamburger becomes X */

    .nav-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }


    /* =====================================================
       MAIN HAMBURGER MENU
       ===================================================== */

    .main-nav > ul#topnav.nav-menu {
        display: none;

        position: absolute;

        top: 100%;
        left: 0;
        right: 0;

        width: 100% !important;
        max-width: none !important;

        margin: 0 !important;
        padding: 0 !important;

        flex-direction: column !important;
        align-items: stretch !important;

        background: #ffffff !important;

        list-style: none;

        box-sizing: border-box;

        box-shadow: 0 8px 20px rgba(0,0,0,.12);

        z-index: 999998;
    }


    /* OPEN HAMBURGER */

    .main-nav > ul#topnav.nav-menu.mobile-open {
        display: flex !important;
    }


    /* =====================================================
       TOP LEVEL ITEMS
       ===================================================== */

    .main-nav > ul#topnav.nav-menu > li {
        display: block !important;

        position: relative !important;

        width: 100% !important;

        margin: 0 !important;
        padding: 0 !important;

        box-sizing: border-box;
    }


    .main-nav > ul#topnav.nav-menu > li > a {
        display: flex !important;

        align-items: center;
        justify-content: space-between;

        padding: 15px 25px !important;

        box-sizing: border-box;

        background: #ffffff;

        color: #162d73;
    }


    /* =====================================================
       FIRST LEVEL DROPDOWN
       
       Services
          ↓
       General & Family Dentistry
       ===================================================== */

    .main-nav > ul#topnav.nav-menu
    > li.dropdown-nav
    > ul.dropdown-menu {

        display: none;

        position: relative !important;

        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        left: auto !important;

        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;

        margin: 0 !important;
        padding: 0 !important;

        background: #ffffff !important;

        border: none !important;
        border-radius: 0 !important;

        box-shadow: none !important;

        opacity: 1 !important;
        visibility: visible !important;

        transform: none !important;

        box-sizing: border-box;
    }


    /* OPEN FIRST LEVEL */

    .main-nav > ul#topnav.nav-menu
    > li.dropdown-nav.open
    > ul.dropdown-menu {

        display: block !important;
    }


    /* =====================================================
       FIRST LEVEL ITEMS
       
       General & Family Dentistry
       Cosmetic Dentistry
       etc.
       ===================================================== */

    .main-nav > ul#topnav.nav-menu
    > li.dropdown-nav
    > ul.dropdown-menu
    > li {

        display: block !important;

        position: relative !important;

        width: 100% !important;

        margin: 0 !important;
        padding: 0 !important;
    }


    .main-nav > ul#topnav.nav-menu
    > li.dropdown-nav
    > ul.dropdown-menu
    > li > a {

        display: flex !important;

        align-items: center;
        justify-content: space-between;

        position: relative !important;

        width: 100% !important;

        padding: 13px 25px 13px 45px !important;

        box-sizing: border-box;

        background: #ffffff !important;

        color: #162d73 !important;

        white-space: normal;
    }


    /* =====================================================
       SECOND LEVEL DROPDOWN
       
       General & Family Dentistry
             ↓
       Dental Cleanings
       Pediatric Dentistry
       Periodontal Therapy
       ===================================================== */

    .main-nav > ul#topnav.nav-menu
    > li.dropdown-nav
    > ul.dropdown-menu
    > li.dropdown-nav
    > ul.dropdown-menu {

        display: none;

        position: relative !important;

        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        left: auto !important;

        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;

        margin: 0 !important;
        padding: 0 !important;

        background: #ffffff !important;

        border: none !important;
        border-radius: 0 !important;

        box-shadow: none !important;

        opacity: 1 !important;
        visibility: visible !important;

        transform: none !important;

        box-sizing: border-box;
    }


    /* OPEN SECOND LEVEL */

    .main-nav > ul#topnav.nav-menu
    > li.dropdown-nav
    > ul.dropdown-menu
    > li.dropdown-nav.open
    > ul.dropdown-menu {

        display: block !important;
    }


    /* =====================================================
       SECOND LEVEL ITEMS
       ===================================================== */

    .main-nav > ul#topnav.nav-menu
    > li.dropdown-nav
    > ul.dropdown-menu
    > li.dropdown-nav
    > ul.dropdown-menu
    > li {

        display: block !important;

        position: relative !important;

        width: 100% !important;

        margin: 0 !important;
        padding: 0 !important;
    }


    .main-nav > ul#topnav.nav-menu
    > li.dropdown-nav
    > ul.dropdown-menu
    > li.dropdown-nav
    > ul.dropdown-menu
    > li > a {

        display: block !important;

        position: relative !important;

        width: 100% !important;

        padding: 12px 25px 12px 75px !important;

        box-sizing: border-box;

        background: #ffffff !important;

        color: #162d73 !important;

        white-space: normal;
    }


    /* =====================================================
       REMOVE DESKTOP HOVER POSITIONING
       ===================================================== */

    .main-nav > ul#topnav.nav-menu
    .dropdown-nav:hover > .dropdown-menu {

        position: relative !important;

        top: auto !important;
        left: auto !important;
        right: auto !important;

        width: 100% !important;

        transform: none !important;
    }


    /* =====================================================
       ARROWS
       ===================================================== */

    .main-nav .dropdown-arrow {

        display: inline-block;

        margin-left: 8px;

        transition: transform .2s ease;
    }


    /* Open dropdown arrow */

    .main-nav .dropdown-nav.open
    > a
    .dropdown-arrow {

        transform: rotate(-90deg) !important;
    }


    /* =====================================================
       BOOK APPOINTMENT
       ===================================================== */

    .main-nav > ul#topnav.nav-menu
    > li.nav-book-appt {

        width: 100% !important;
    }

    .main-nav > ul#topnav.nav-menu
    > li.nav-book-appt > a {

        display: block !important;

        margin: 15px 25px !important;
    }

}


/* =========================================================
   DESKTOP - 1200px AND ABOVE
   ========================================================= */

@media screen and (min-width: 1200px) {

    .nav-toggle {
        display: none !important;
    }

    .main-nav > ul#topnav.nav-menu {
        display: flex;
    }

}

.responsive-columns {
	display: inline-flex;
}

.responsive-columns-inline {
	display: block;
}


/* Desktop and Mobile Display */

@media (max-width:1199px) {
	.responsive-desktop{
	display: none;
	}
}

@media (min-width:1200px) {
	.responsive-mobile {
	display: none;
	}
}

@media (max-width: 500px) {
	.mobile-center {
	text-align:center;
}
	.responsive-columns {
	display: block;
	}
	.responsive-columns-inline {
	display: inline-flex;
	}
}

/* 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: #464646;
  background: #FFFFFF;
  padding: 30px;
  transform: translate(-50%,-50%);
  -ms-transform: translate(-50%,-50%);
  border-radius: 10px;
}
#close-box {
    position: absolute;
    top: 0;
    right: 0;
    padding: 5px 15px;
    font-size: 3rem;
}
.overlay-content {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
/* left side text */
.overlay-text {
  flex: 1;
  text-align: left;
}
/* right side image */
.overlay-image {
  flex: 1;
}
.overlay-image img {
  max-width: 100%;
  height: auto;
  display: block;
}
/* If the body contains the promo (#text), hide the header */
body:has(#text) .header {
   /* display: none !important;*/
    position: static;
}

@media screen and (max-width: 800px) {
    #text {
        position: absolute;
        /* svh is best for iPhones; vh is the fallback for others */
        top: 55svh; 
        top: 55vh; 
        
        left: 50%;
        transform: translate(-50%, -50%);
        
        width: 75%;
        /* Leave enough room so it never touches the sticky header */
        max-height: 65svh; 
        max-height: 75vh;
        
        overflow-y: auto;
        text-align: center;
        z-index: 10;
    }
}

/* Only use the 500px block for tiny font adjustments */
@media screen and (max-width: 500px) {
    #text {
        font-size: 16px; /* Prevents iPhone auto-zoom */
        width: 75%;     /* Use more width on tiny screens */
		text-wrap: auto;
    }
}
