/*
* 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
*/

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --brown: #231f20;
  --blue: #8dc8d8;
  --green: #a1a63f; 
}

img {
  max-width: 100%;
  display: block;
  -webkit-backface-visibility: hidden;
}

/* Grid
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.container {
  position: relative;
  width: 100%;
  max-width: 1500px;
  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: 750px) {
  .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%;
  }
  .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%;
  }
  .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.5em; /* currently ems cause chrome bug misinterpreting rems on body element */
  line-height: 1.6;
  font-weight: 400;
  font-family: Helvetica, Arial, "sans-serif";
  color: #111;
	background: #f2f2f2;
}

/* Typography
–––––––––––––––––––––––––––––––––––––––––––––––––– */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  margin-bottom: 2rem;
  font-weight: 300;
  font-family: "Montserrat", sans-serif;
}
h1 {
  font-size: 3.6rem;
  line-height: 1.2;
  letter-spacing: -0.1rem;
  font-weight: bold;
}
h2 {
  font-size: 3.1rem;
  line-height: 1.25;
  letter-spacing: -0.1rem;
  font-weight: bold;
}
h3 {
  font-size: 2.8rem;
  line-height: 1.3;
  letter-spacing: -0.1rem;
  font-weight: bold;
}
h4 {
  font-size: 2.4rem;
  line-height: 1.35;
  letter-spacing: -0.08rem;
}
h5 {
  font-size: 1.8rem;
  line-height: 1.5;
  letter-spacing: -0.05rem;
}
h6 {
  font-size: 1.5rem;
  line-height: 1.6;
  letter-spacing: 0;
}
p {
  font-size: 1.7rem;
}
/* Larger than phablet */
@media (min-width: 550px) {
  h1 {
    font-size: 4.6rem;
  }
  h2 {
    font-size: 3.9rem;
  }
  h3 {
    font-size: 3.5rem;
  }
  h4 {
    font-size: 3rem;
  }
  h5 {
    font-size: 2.4rem;
  }
  h6 {
    font-size: 1.5rem;
  }
}

p {
  margin-top: 0;
  font-family: Helvetica, Arial, "sans-serif"
}

/* Links
–––––––––––––––––––––––––––––––––––––––––––––––––– */
a {
  color: var(--brown);
	text-decoration: none;
}
a:hover {
  color: #444;
}

/* Buttons
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.button,
button,
input[type="submit"],
input[type="reset"],
input[type="button"] {
  display: inline-block;
  padding: 1rem 2rem;
  color: var(--brown);
  text-align: center;
  font-size: 1.6rem;
  text-decoration: none;
  white-space: nowrap;
  background-color: transparent;
  cursor: pointer;
  box-sizing: border-box;
	box-shadow: 0 3px 10px rgb(0 0 0 / 20%)
}
.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: #333;
  outline: 0;
}
.button.button-primary,
button.button-primary,
input[type="submit"].button-primary,
input[type="reset"].button-primary,
input[type="button"].button-primary {
  color: white;
  background-color: var(--green);
}
.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 {
  transition: 400ms;
  color: var(--green);
  background-color: var(--brown);
}
.button.button-secondary,
button.button-secondary,
input[type="submit"].button-secondary,
input[type="reset"].button-secondary,
input[type="button"].button-secondary {
  color: var(--brown);
  background-color: var(--blue);
}
.button.button-secondary:hover,
button.button-secondary:hover,
input[type="submit"].button-secondary:hover,
input[type="reset"].button-secondary:hover,
input[type="button"].button-secondary:hover,
.button.button-secondary:focus,
button.button-secondary:focus,
input[type="submit"].button-secondary:focus,
input[type="reset"].button-secondary:focus,
input[type="button"].button-secondary:focus {
  transition: 400ms;
  background-color: var(--green);
}
.button.button-alt,
button.button-alt,
input[type="submit"].button-alt,
input[type="reset"].button-alt,
input[type="button"].button-alt {
  color: var(--blue);
  background-color: white;
  border-color: var(--brown);
}
.button.button-alt:hover,
button.button-alt:hover,
input[type="submit"].button-alt:hover,
input[type="reset"].button-alt:hover,
input[type="button"].button-alt:hover,
.button.button-alt:focus,
button.button-alt:focus,
input[type="submit"].button-alt:focus,
input[type="reset"].button-alt:focus,
input[type="button"].button-alt:focus {
  color: var(--brown);
	transition: 400ms;
}

/* 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 #33c3f0;
  outline: 0;
}
label,
legend {
  display: block;
  margin-bottom: 0.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: 0.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;
  font-size: 1.7rem;
}

/* Code
–––––––––––––––––––––––––––––––––––––––––––––––––– */
code {
  padding: 0.2rem 0.5rem;
  margin: 0 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
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.resize {
  width: 100%;
  height: auto;
}
.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;
}
.padding-side {
  padding-inline: 15%;
}
.center-image {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 750px) {
  .padding-side {
    padding-inline: 30px;
  }
}

/* Misc
–––––––––––––––––––––––––––––––––––––––––––––––––– */
hr {
  margin-top: 3rem;
  margin-bottom: 3.5rem;
  border-width: 0;
  border-top: 1px solid #e1e1e1;
}

section {
	padding-block: 4rem;
}

.caps {
  text-transform: uppercase;
}

.italic {
  font-style: italic;
}

.brown {
  color: var(--brown);
}

.brown-bg {
	background: var(--brown);
}

.blue {
  color: var(--blue);
}

.blue-bg {
	background: var(--blue);
}

.green {
	color: var(--green);
}

.green-bg {
	background: var(--green);
}

.center {
  text-align: center;
}

.bold {
  font-weight: bold;
}

.nomargin {
	margin-bottom: 0;
}

/* Clearing
–––––––––––––––––––––––––––––––––––––––––––––––––– */

/* Self Clearing Goodness */
.container:after,
.row:after,
.u-cf {
  content: "";
  display: table;
  clear: both;
}

/* Custom CSS
–––––––––––––––––––––––––––––––––––––––––––––––––– */


/* Header
–––––––––––––––––––––––––––––––––––––––––––––––––– */

hr {
  border: 1px solid rgb(92, 92, 92);
  margin: 0.5rem 0 1rem;
}


.cta-btn {
  display: block;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  color: #fff !important;
  text-decoration: none !important;
  text-transform: uppercase !important;
  background-color: var(--green) !important;
  padding: 2rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

header,
footer {
  position: relative;
  z-index: 100;
}
header > .container,
footer > .container {
  max-width: 2000px;
}

nav ul, nav li,
footer ul,
footer li {
  list-style: none;
  margin-bottom: 0;
}
nav a,
footer a {
  color: #fff;
  text-decoration: none;
  font-size: 1.2rem;
  margin: 0 1rem;
}
nav a:focus, nav a:active, nav a:hover,
footer a:focus,
footer a:active,
footer a:hover {
  color: var(--green);
}

header {
  background-color: var(--brown);
  color: #fff;
  padding: 0.5rem 0 1.5rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}
header i {
  color: #fff;
}
header img {
  max-width: 100%;
	max-height: 120px;
}
header span {
  display: inline-block;
}

nav a {
  text-transform: uppercase;
  font-weight: bold;
}
nav li {
  display: inline-block;
}
nav ul, nav li {
  margin: 0;
}

address {
  font-style: normal;
  font-weight: normal;
  font-size: 1.2rem;
}

.nav-appointment-socials,
.socials {
  display: flex;
  flex-direction: row;
  margin: 0 1rem;
}

.nav-appointment-socials {
  justify-content: space-between;
  align-items: center;
}
.nav-appointment-socials > .mobile {
  display: none;
}
@media only screen and (max-width: 750px) {
  .nav-appointment-socials {
    flex-wrap: wrap;
  }
  .nav-appointment-socials > .mobile {
    display: block;
  }
}

@media only screen and (max-width: 750px) {
  .navbar-item {
    width: 100%;
    margin: 1rem 0;
  }
}

@media only screen and (max-width: 750px) {
  nav {
    flex-basis: 100%;
  }
}

#navbar {
  display: block;
}
@media only screen and (max-width: 750px) {
  #navbar {
    display: none;
    margin-bottom: 1rem;
  }
}

.locations {
  color: var(--green);
	font-size: 1.42rem;
}
.locations > span {
  font-weight: normal;
  color: #fff;
}

.locations,
.locations-details {
  font-weight: bold;
  padding-top: 2rem;
}
.locations i,
.locations-details i {
  margin-right: 1rem;
}
.locations a,
.locations-details a {
  color: var(--green);
  font-weight: normal;
  text-decoration: none;
}
.locations a:hover,
.locations-details a:hover {
  color: var(--blue);
}
@media only screen and (max-width: 750px) {
  .locations,
.locations-details {
    display: none;
  }
}

@media only screen and (max-width: 750px) {
  .space {
    display: none;
  }
}

.locations-details {
  color: #fff;
}
.locations-details > span, .locations-details a {
  color: var(--green);
  font-weight: normal;
  text-decoration: none;
}
.locations-details a:hover {
  color: var(--blue);
}

.socials {
  height: auto;
}
.socials i {
  margin: 0 0.5rem;
  color: var(--green);
}

.socials i:hover {
	color: var(--blue);
}

.appointment {
  text-align: center;
}

.line {
  border-left: 1px dashed #fff;
  width: 1px;
  height: 20px;
  margin: 0 0.5rem;
}

.dropdown,
.dropdown-submenu {
  position: relative;
  display: inline-block;
}
.dropdown:hover .dropbtn,
.dropdown-submenu:hover .dropbtn {
  background-color: #3e8e41;
}
@media only screen and (max-width: 750px) {
  .dropdown,
.dropdown-submenu {
    width: 100%;
  }
}

@media only screen and (min-width: 750px) {
  .dropdown:hover > .dropdown-content, .dropdown.active > .dropdown-content {
    display: block;
  }
}

.dropdown-submenu {
  display: flex;
  flex-direction: row;
  margin: 0 1rem;
  justify-content: space-between;
  align-items: center;
}
.dropdown-submenu:hover > .dropdown-submenu-content {
  display: block;
}
.dropdown-submenu > i {
  margin-right: 1rem;
}
@media only screen and (max-width: 750px) {
  .dropdown-submenu {
    flex-wrap: wrap;
  }
}

.dropdown-content,
.dropdown-submenu-content {
  display: none;
  position: absolute;
  background-color: var(--brown);
  min-width: -webkit-fit-content;
  min-width: -moz-fit-content;
  min-width: fit-content;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
}
.dropdown-content a,
.dropdown-submenu-content a {
  display: block;
  color: #fff;
  padding: 1rem;
}
@media only screen and (max-width: 750px) {
  .dropdown-content > li,
.dropdown-submenu-content > li {
    width: 100%;
  }
}

@media only screen and (min-width: 750px) {
  .dropdown-submenu-content {
    transform: translate(100%, 35%);
  }
}


.office-highlights {
	display: flex;
	justify-content: space-around;
	margin-top: -7rem;
}

h2.center:before, h2.center:after {
	content: '\00A0 \00A0 \2014 \00A0 \00A0';
	color: var(--green);
}

.office-highlight {
	border: 3px solid var(--blue);
	border-top: 8px solid var(--green);
	flex-basis: 20%;
	margin: 0 auto;
	background: white;
	display: flex;
	justify-content: space-between;
	padding: 2rem;
	align-items: center;
}

.office-highlight div {
	flex: 1;
	margin-right: 20px;
	min-width: 50px;
}

.office-highlight p {
	flex: 2;
	margin-bottom: 0;
	font-weight: bold;
	font-size: 1.3em;
}

.intro-flex {
	display: flex;
	justify-content: center;
}

.intro-image {
	flex: 1;
}

.intro-image img {
	width: 100%;
}

.intro-text {
	margin-left: 4rem;
	flex: 2;
}

.home-services-flex {
	display: flex;
	justify-content: space-between;
	text-align: center;
	align-items: stretch;
}

.feat-service {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: stretch;
	align-items: stretch;
	margin: 1rem;
}

.feat-service:nth-child(even) {
	--border: var(--green);
}

.feat-service:nth-child(odd) {
	--border: var(--blue);
}

.feat-service h3 {
	padding: 2rem;
	border: 3px solid var(--border);
	border-top: 8px solid var(--border);
	background: white;
	font-size: clamp(15px, 2vw, 2.5rem);
	min-height: 110px;
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center
}

.feat-service a:hover {
	color: var(--border);
}

.feat-service img {
	width: 100%;
}

.doctors-flex {
	display: flex;
	justify-content: center;
	align-items: center
}

.doctor {
	flex: 1;
	max-width: 400px;
	border: 8px solid var(--blue);
	margin: 3rem;
	position: relative;
}

.doctor img {
	width: 100%;
}

.doctors {
	background: linear-gradient(to bottom, #f2f2f2 calc(50% - 50px), var(--green) calc(50% - 60px) calc(50% + 60px), #f2f2f2 calc(50% + 50px));
}

.doctor-name {
	position: absolute;
	bottom: 2%;
	padding: 1rem;
	background: rgba(178, 186, 74, 0.5);
	text-align: center;
	width: 100%;
	font-size: 2.2rem;
}

.testimonials {
	border-block: 6px solid var(--blue);
	padding-bottom: 0;
}

.testimonial-section {
	min-height: 360px;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
}

.members {
	background: white;
}

#members-slide {
  position: relative;
  height: calc(300px - 12rem);
  opacity: 1;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  margin: 0 1rem;
  justify-content: center;
  align-items: center;
}
@media only screen and (max-width: 750px) {
  #members-slide {
    height: 650px;
  }
}

.slide {
  position: absolute;
  opacity: 0;
  transition: opacity 1s ease;
  top: 0;
  margin-bottom: 0;
}

.slide > img {
  -o-object-fit: contain;
     object-fit: contain;
}


.google-maps-home {
  overflow: hidden;
}

/* Always set the map height explicitly to define the size of the div
       * element that contains the map. */
#map {
  height: 400px;
}

.map-control {
  background-color: #fff;
  border: 1px solid #ccc;
  box-shadow: 0 2px 2px rgba(33, 33, 33, 0.4);
  font-family: "Roboto", "sans-serif";
  margin: 10px;
  padding-right: 5px;
  /* Hide the control initially, to prevent it from appearing
     before the map loads. */
  display: none;
}

/* Display the control once it is inside the map. */
#map .map-control {
  display: block;
}

.footer,
.footer2 {
  background: var(--brown);

	color: white;
}

.footer p {
  font-size: 1.1em;
}

.footer a {
  text-decoration: none;
	color: var(--green);
}

.footer-nav a {
	color: var(--blue);
	font-size: 1.3em;
}

.footer-nav a:hover {
	color: var(--green);
	transition: 200ms;
}

.footer2 {
  padding-block: 10px;
  border-top: 1px solid #ccc;
}

.footer2 a {
  font-weight: normal;
  color: white;
}

.copy {
  padding-top: 2%;
}

.uponline {
  text-align: right;
}

.uponline img {
  max-width: 100px;
	margin-inline: auto;
}

@media (max-width: 550px) {
  .footer2 {
    text-align: center;
  }
  .uponline {
    text-align: center;
  }
}


/* Service pages
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.services-hero {
	text-align: center;
	min-height: 35vh;
	background: url("https://www.empresswalkdental.com/images/cosmetic-dentist-toronto5.jpg");
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	color: white;
	padding: 0;
	display: flex;
	justify-content: center;
	align-items: center;
}

.services-hero h1 {
	letter-spacing: 2px;
	font-weight: 400;
	text-transform: uppercase;
}

.services-hero .container {
	display: flex;
	justify-content: center;
	align-items: center;
	align-content: center;
}

.services-hero h1 {
	margin-bottom: 0;
}

.text-image {
	display: flex;
	justify-content: space-between;
	align-items: center;
}



.text-image-img {
	flex: 1;
}

.text-image-text {
	flex: 1.5;
}

.text-image img {
	min-width: 300px;
}

.text-image strong {
	color: var(--green);
}

.text-image:nth-child(2) {
	margin-left: 2rem;
}

.text-image a, .text-heading a {
	color: var(--green);
}

.text-image h2{
	color: var(--green);
}

.text-image ul {
  list-style: none;
}

.text-image ul li:before {
  content: "\2022"; 
  color: var(--green); 
  font-weight: bold; 
  display: inline-block; 
  width: 1em; 
  margin-left: 0.7em; 
}

.text-image > .container {
  max-width: 1500px;
  width: 90%;
}

.text-image h2, .text-heading h2 {
	font-weight: normal;
}

.text-heading {
  text-align: center;
}
.text-heading h3 {
  margin-top: 3rem;
}
.text-heading p, .text-heading li {
  color: gray;
}
.text-heading p {
  max-width: 1000px;
  margin: auto;
}
.text-heading ul {
  display: flex;
  flex-direction: row;
  margin: 0 1rem;
  justify-content: center;
  align-items: center;
  list-style: none;
  flex-wrap: wrap;
  color: var(--var-green);
  font-size: 2rem;
  font-weight: bold;
}
.text-heading ul > li {
  padding: 1rem 8%;
  background-color: #fff;
  width:100%; 
}
.text-heading ul > li:nth-child(odd) {
  background-color: whitesmoke;
}
.text-heading ul > li:nth-child(even) {
  background-color: rgb(235, 233, 233);
}
@media only screen and (max-width: 750px) {
  .text-heading ul > li {
    flex: 0 0 80%;
  }
}

.gray-bkg {
	background: white;
}


.service-center {
	background: #F9F9F9;
	text-align: center;
	padding-block: 3.5rem;
}

.service-center h2 {
	color: var(--green);
	font-weight: 400;
	font-size: 3rem;
}

.services-contact {
	text-align: center;
	background: rgba(161,166,63,0.2);
}

.table {
  padding: 1rem 5rem;
  background-color: #f9f9f9;
  margin: 1rem 0;
}
.table p {
  color: gray;
}
.table .row, .table .u-full-width {
  margin: 5rem 0;
}

.subheading {
  color: var(--green);
  font-weight: bold;
  text-align: center;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.services-navigation {
  padding: 2rem 0 0;
}

.services-nav h5,
.services-nav-2 h5 {
  background-color: var(--brown);
  color: #fff;
  padding: 1rem 1.5rem;
  margin-bottom: 1rem;
}

.services-nav {
  min-width: 200px;
}
.services-nav h4 {
  margin-bottom: 2.5rem;
  display: none;
  font-weight: bold;
  margin-top: 20px;
}
.services-nav h6 {
  margin-top: 1.5rem;
  margin-bottom: 0.7rem;
  font-size: 1.2em;
}
.services-nav a {
  color: #fff;
  text-decoration: none;
}
.services-nav .active:before {
  content: "-";
  font-size: 24px;
  color: #fff;
  margin-right: 10px;
}

.services-nav h5 a:hover,
.active,
.collapsible-service:hover,
.service-content a:hover {
  color: var(--green);
  cursor: pointer;
}

.service-content {
  padding: 0 18px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
  list-style: none;
}
.service-content li {
  border-bottom: 1px solid var(--green);
  color: #000;
  margin-left: 2rem;
}
.service-content a {
  color: #000;
  text-decoration: none;
}

.collapsible-service:before {
  content: "+";
  font-size: 24px;
  color: #fff;
  margin-right: 10px;
}

/* Other Pages
  -------------------------------------------------- */

.white-bkg {
  background-color: white;
}

.title {
  font-size: 3.5rem;
  text-align: center;
  font-weight: 200;
  padding: 0 2rem;
  padding-bottom: 2rem;
  position: relative;
	color: var(--green);
	font-weight: bold;
}

.title::after {
  content: "";
  position: absolute;
  width: 150px;
  height: 1px;
  background: var(--green);
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}

.text-heading {
  text-align: center;
}
.text-heading h3 {
  margin-top: 3rem;
}
.text-heading p, .text-heading li {
  color: gray;
}
.text-heading p {
  max-width: 1000px;
  margin: auto;
}
.text-heading ul {
  display: flex;
  flex-direction: row;
  margin: 0 1rem;
  justify-content: center;
  align-items: center;
  list-style: none;
  flex-wrap: wrap;
  color: var(--green);
  font-size: 2rem;
  font-weight: bold;
}
.text-heading ul > li {
  padding: 1rem 8%;
  background-color: #fff;
  width:100%; 
}
.text-heading ul > li:nth-child(odd) {
  background-color: whitesmoke;
}
.text-heading ul > li:nth-child(even) {
  background-color: rgb(235, 233, 233);
}
@media only screen and (max-width: 750px) {
  .text-heading ul > li {
    flex: 0 0 80%;
  }
}


.question .collapsible {
  background-color: #f9f9f9;
  color:var(--green);
  cursor: pointer;
/*  padding: 5px;*/
  width: 100%;
  height: 100%;
  border: none;
  text-align: center;
  outline: none;
  font-size: 17px;
  white-space: normal;
  text-transform: none;
}



.content {
  padding: 0 18px;
  background-color: var(--var-bkg-gray);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}

.question-collapsible:after {
  content: '\02795'; /* Unicode character for "plus" sign (+) */
/*  font-size: 13px;*/
  color: white;
  float: right;
  margin-left: 1.5rem;
}

.question-active:after {
  content: "\2796"; /* Unicode character for "minus" sign (-) */
  margin-left: 1.5rem;
}

.appointment-form {
  background-color: #f5f6e9;
  padding: 3rem;
}

.appointment-form div {
	padding: 0;
}

.contact-info {
	padding-block: 6rem;
}

.contact-info i {
	font-size: 4rem;
	color: var(--green);
	margin-bottom: 20px;
}

.contact-info h2 {
	font-size: 2.5rem;
}

.contact-info a {
	color: var(--green);
	font-weight: 500;
}

.articles .row {
	margin-bottom: 3rem;
	background: white;
	padding: 2rem;
}

.practice-flex {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 10px;
}

.practice-flex img {
	flex: 1;
	flex-basis: 25%;
	max-width: 300px;
}

.video-container { position: relative; padding-bottom: 56.25%; padding-top: 30px; height: 0; overflow: hidden; }

.video-container iframe, .video-container object, .video-container embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

/* Media Queries
–––––––––––––––––––––––––––––––––––––––––––––––––– */

@media (max-width: 768px) {
	.flex {flex-direction: column}
	.flex.reverse {flex-direction: column-reverse}
	.office-highlight {
		margin: 10px auto; 
		max-width: 400px;
	}
	.footer, .footer2 {
		text-align: center;
	}
	.intro-text {
		margin-left: 0;
		margin-bottom: 2rem;
	}
	.feat-service h3 {
		font-size: 3rem;
	}
	.doctor-name {
		font-size: 1.7rem;
	}
	.office-highlights {
		margin-top: 0;
	}
	h2.center:before, h2.center:after {
		content: '';
	}
}



/* Testimonial Slider
---------------------------------- */

.testim{
    width: 100%;
  
}
.testim .wrap{
    position: relative;
    width: 100%;
    max-width: 1020px;
    padding: 0 20px 40px;
    margin: auto;
}

.testim .arrow{
    display: block;
    position: absolute;
    color: var(--blue);
    cursor: pointer;
    font-size: 2em;
    top: 40%;
    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: var(--green);
}

.testim .dots{
    text-align: center;
    position: absolute;
    width: 100%;
    bottom: 60px;
    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 #687D83;
    margin: 0 10px;
    cursor: pointer;
    transition: all .2s ease-in-out;
    position: relative;
}
.testim .dots .dot.active,
.testim .dots .dot:hover{
background: var(--green);
border-color: var(--green);
}

.testim .dots .dot.active{
    animation: testim-scale .1s ease-in-out forwards;
}
.testim .cont{
    position: relative;
    overflow: hidden;
}
.testim .cont > div{
    text-align: center;
    position: absolute;
    top: 0;
    left: 0;
    padding: 0 0 70px 0;
    opacity: 0;
}
.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{
    color: #555;
    font-size: 1em;
    margin: 15px 0;
}
.testim .cont div p{
    font-size: 1.5em;
    width: 80%;
    margin: auto;
	font-weight: bold;
}

.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 #687d83;
    }
    100% {
        box-shadow: 0px 0px 0px 0px #687d83;
    }
}

@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);
    }
}
/* coding with nick */

/* Responsive */

@media all and (max-width: 300px) {
    body {
        font-size: 14px;
    }
}
@media all and (max-width: 500px) {
    .testim .arrow{
        font-size: 1.5rem;
    }
    .testim .cont div p{
        line-height: 25px;
    }
}

/* Slideshow container */
.slideshow-container {
  position: relative;
  margin: auto;
	max-height: 75vh;
	overflow: hidden;
}

/* Hide the images by default */
.mySlides {
  display: none;
}

.mySlides .after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    color: #FFF;
	display: block;
    background: rgba(0, 0, 0, .5);
}

/* Caption text */
.mySlides .text {
  color: #fff;
  font-size: clamp(17px, 3vw, 4.5rem);
  padding: 1rem;
  position: absolute;
  bottom: 40%;
  width: 100%;
  text-align: center;
	font-weight: bold;
}


/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .7}
  to {opacity: 1}
}

@media (max-width: 600px) {
	.text {
		bottom: 25%;
	}
}

/*Gallery*/
.tab {
  overflow: hidden;
  background-color: var(--brown);
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

@media only screen and (max-width: 750px) {
  .tab {
    flex-direction: column;
    justify-content: center;
  } 
  
  .tab button {
    width: 100%;
  }
}

/* Style the buttons that are used to open the tab content */
.tab button {
  display: block;
  background-color: inherit;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  transition: 0.3s;
  color: #fff;
  margin-bottom: 0;
  padding: 1rem;
  flex: 0 0 33%;
  height: fit-content;
}

.tab button > i {
  margin-right: 1rem;
}

/* Change background color of buttons on hover */
.tab button:hover {
  background-color: var(--green);
}

/* Create an active/current tablink class */
.tab button.activee {
  background-color: var(--green);
}

/* Style the tab content */
.tabcontent {
  display: none;
  padding: 6px 12px;
  border: 1px solid #ccc;
  border-top: none;
  padding: 5rem 1rem;
	background: var(--brown);
}

.tabcontent > .row {
  margin: 3rem 0;
}

.gallery-flex {
	display: flex;
	justify-content: center;
	align-items: center;
	align-content: center;
	gap: 1.5rem;
  flex-wrap: wrap;
}

.gallery-flex img {
	flex: 1 0 21%;
  width: 250px;
}
.gallery-flex h5{
  color: #fff;
  font-size: 2.0rem;
  text-align: center;
}


@media only screen and (max-width: 750px) { 
  .img-comp-img,.img-comp-img img {
    max-width: 100% !important; 
  }
  
  .img-comp-overlay,.img-comp-overlay img {
    max-width: none !important;
  }
}


.img-comp-container {
  position: relative;
  height:400px; /*should be the same height as the images*/
}

.img-comp-img {
  position: absolute;
  width: auto;
  height: auto;
  overflow: hidden;
}

.img-comp-overlay {
  box-shadow: 12px 0 15px 5px rgba(0,0,0, 0.2);
}

.img-caption {
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(5%,35%);
  color: white;
  width: 30vw;
  z-index: 0;
}
.img-caption-right {
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(5%,35%);
  color: white;
  width: 30vw;
  z-index: 0;
}
@media only screen and (max-width: 750px) { 
.img-caption {
    width: 80vw;
  }
}

.img-comp-img >.img-caption{
  top: 75%;
  text-align: right;
}

.img-comp-overlay > .img-caption {
  top: 0;
  text-align: left;
}

.img-comp-overlay .img-caption {
  z-index: 8;
}

.img-comp-img img {
  display: block;
  vertical-align: middle;
  max-width: none;
  position: relative;
}

.img-comp-slider {
  position: absolute;
  z-index: 9;
  cursor: ew-resize;
  /*set the appearance of the slider:*/
  width: 40px;
  height: 40px;
  background-color: var(--green);
  opacity: 0.7;
  border-radius: 50%;
}

.img-comp-slider::before {
  content: "\2194";
  display: block;
  font-size: 3rem;
  color: white;
  padding-left:5px;
  margin-top: -6px;
    
}

/* Fancybox
---------------------------------- */

a[data-fancybox] img {
  cursor: zoom-in;
}


.fancybox__container {
  --fancybox-bg: #fff;
  --fancybox-color: #333;
  --fancybox-accent-color: #e879f9;
  --carousel-button-svg-filter: none;
  display: flex;
  flex-direction: row;
}

.fancybox__toolbar {
  position: relative;

  padding: 0;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(30px);
  border-bottom: 1px solid #edeef0;

  text-shadow: none;
  font-weight: 400;

  --carousel-button-svg-stroke-width: 1.75;
  --carousel-button-svg-width: 22px;
  --carousel-button-svg-height: 22px;
}

.fancybox__slide {
  padding-top: 8px;
  padding-bottom: 8px;
}

.fancybox__nav {
  --carousel-button-bg: #e5e7eb;
  --carousel-button-border-radius: 6px;

  --carousel-button-svg-width: 20px;
  --carousel-button-svg-height: 20px;

  --carousel-button-svg-stroke-width: 2.5;
}

.fancybox__leftCol {
  width: 80vw;
  min-height: 1px;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

.fancybox__rightCol {
  width: 20vw;
  max-width: 300px;
  height: 100%;
  padding: 2rem;
  overflow: auto;

  display: flex;
  flex-direction: column;

  border-left: 1px solid #edeef0;

  opacity: var(--fancybox-opacity, 1);
}

/* Opening */
.fancybox__container.is-animated[aria-hidden="false"] .fancybox__rightCol {
  animation: 0.15s ease backwards fancybox-fadeIn;
}

/* Closing */
.fancybox__container.is-animated.is-closing .fancybox__rightCol {
  animation: 0.15s ease both fancybox-fadeOut;
}

.fancybox__container.is-animated.is-closing .fancybox__leftCol {
  overflow: visible;
}

/*remove h2 styling*/
h2.remove-line-h2:before, h2.remove-line-h2:after {
  content: '';
  color: unset;
}