:root {
  --var-background-blue: #272b4a;
  --var-light-blue: #a0bdd5;
}

/*
* Skeleton V2.0.4
* Copyright 2014, Dave Gamache
* www.getskeleton.com
* Free to use under the MIT license.
* http://www.opensource.org/licenses/mit-license.php
* 12/29/2014
*/

/* Table of contents
––––––––––––––––––––––––––––––––––––––––––––––––––
- Grid
- Base Styles
- Typography
- Links
- Buttons
- Forms
- Lists
- Code
- Tables
- Spacing
- Utilities
- Clearing
- Media Queries
*/

/* Grid
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.column,
.columns {
  width: 100%;
  float: left;
  box-sizing: border-box;
}

/* For devices larger than 400px */
@media (min-width: 400px) {
  .container {
    width: 85%;
    padding: 0;
  }
}

/* For devices larger than 550px */
@media (min-width: 550px) {
  .container {
    width: 80%;
  }
  .column,
  .columns {
    margin-left: 4%;
  }
  .column:first-child,
  .columns:first-child {
    margin-left: 0;
  }

  .one.column,
  .one.columns {
    width: 4.66666666667%;
  }
  .two.columns {
    width: 13.3333333333%;
  }
  .three.columns {
    width: 22%;
  }
  .four.columns {
    width: 30.6666666667%;
  }
  .five.columns {
    width: 39.3333333333%;
  }
  .six.columns {
    width: 48%;
  }
  .seven.columns {
    width: 56.6666666667%;
  }
  .eight.columns {
    width: 65.3333333333%;
  }
  .nine.columns {
    width: 74%;
  }
  .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: "Open Sans", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial,
    sans-serif;
  color: #222;
}

/* Typography
–––––––––––––––––––––––––––––––––––––––––––––––––– */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  margin-bottom: 2rem;
  font-weight: 300;
}
h1 {
  font-size: 4rem;
  line-height: 1.2;
  letter-spacing: -0.1rem;
}
h2 {
  font-size: 3.6rem;
  line-height: 1.25;
  letter-spacing: -0.1rem;
}
h3 {
  font-size: 3rem;
  line-height: 1.3;
  letter-spacing: -0.1rem;
}
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;
}

/* Larger than phablet */
@media (min-width: 550px) {
  h1 {
    font-size: 5rem;
  }
  h2 {
    font-size: 4.2rem;
  }
  h3 {
    font-size: 3.6rem;
  }
  h4 {
    font-size: 3rem;
  }
  h5 {
    font-size: 2.4rem;
  }
  h6 {
    font-size: 1.5rem;
  }
}

p {
  margin-top: 0;
}

/* Links
–––––––––––––––––––––––––––––––––––––––––––––––––– */
a {
  color: #272B4A;
  text-decoration: none;
  font-weight: bold;
}
a:hover {
  color: #A0BDD5;
}

/* Buttons
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.button,
button,
input[type="submit"],
input[type="reset"],
input[type="button"] {
  display: inline-block;
  height: 38px;
  padding: 0 30px;
  color: #555;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  line-height: 38px;
  letter-spacing: 0.1rem;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  background-color: transparent;
  border-radius: 4px;
  border: 1px solid #bbb;
  cursor: pointer;
  box-sizing: border-box;
}
.button:hover,
button:hover,
input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover,
.button:focus,
button:focus,
input[type="submit"]:focus,
input[type="reset"]:focus,
input[type="button"]:focus {
  color: #333;
  border-color: #888;
  outline: 0;
}
.button.button-primary,
button.button-primary,
input[type="submit"].button-primary,
input[type="reset"].button-primary,
input[type="button"].button-primary {
  color: #fff;
  background-color: #33c3f0;
  border-color: #33c3f0;
}
.button.button-primary:hover,
button.button-primary:hover,
input[type="submit"].button-primary:hover,
input[type="reset"].button-primary:hover,
input[type="button"].button-primary:hover,
.button.button-primary:focus,
button.button-primary:focus,
input[type="submit"].button-primary:focus,
input[type="reset"].button-primary:focus,
input[type="button"].button-primary:focus {
  color: #fff;
  background-color: #1eaedb;
  border-color: #1eaedb;
}

/* Forms
–––––––––––––––––––––––––––––––––––––––––––––––––– */
input[type="email"],
input[type="number"],
input[type="search"],
input[type="text"],
input[type="tel"],
input[type="url"],
input[type="password"],
textarea,
select {
  height: 38px;
  padding: 6px 10px; /* The 6px vertically centers text on FF, ignored by Webkit */
  background-color: #fff;
  border: 1px solid #d1d1d1;
  border-radius: 4px;
  box-shadow: none;
  box-sizing: border-box;
}
/* Removes awkward default styles on some inputs for iOS */
input[type="email"],
input[type="number"],
input[type="search"],
input[type="text"],
input[type="tel"],
input[type="url"],
input[type="password"],
textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
textarea {
  min-height: 65px;
  padding-top: 6px;
  padding-bottom: 6px;
}
input[type="email"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
input[type="text"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
  border: 1px solid #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;
}

/* 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
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.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;
}

.center-image {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* 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;
}

/* 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) {
}

/* Basic Config */
*{
  box-sizing: border-box;
}

p {
  margin-bottom: 0;
  font-size: 1.8rem;
}

ul,
li {
  list-style-type: none;
  margin-bottom: 0;
}

.caps {
  text-transform: uppercase;
}

.resize {
  width: 100%;
  height: auto;
}

h2 {
  font-size: 2rem;
  color: var(--var-background-blue);
  font-weight: bold;
}

td {
  border-bottom: 0;
}

.title {
  font-weight: bold;
  font-size: 2.5rem;
  color: var(--var-background-blue);
  border-bottom: 3px solid var(--var-light-blue);
  width:fit-content;
}

.mobile {
  display: none;
}

address {
  font-style: normal;
}

@media only screen and (max-width: 768px) {
  .mobile {
    display: block;
  }
  
  address {
  text-align: center;
}
}

.leaves-bkg {
  background-image: url(../images/leaves-background_new.png);
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: center;
}

.marble-bkg {
  background-image: url(../images/marble-background.jpg);
  object-fit: contain;
}

.section {
  padding: 5rem 0;
}

/* Header & Footer */
.blue {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--var-background-blue);
  color: #fff;
  min-height: 100%;
  width: 30%;
}

.blue * {
  max-width: 100%;
}

/* Main Content */
/* .main-content {
} */

.shift-down {
  margin-top: -10rem;
  padding-top: 10rem;
  padding-bottom: 5rem;
}


.main-content h2 {
  font-size: 2.5rem;
  color: var(--var-background-blue);
}

@media only screen and (max-width: 678px) {
  .shift-down {
    margin-top: -12rem;
  }
}

/* Navigation Bar */
nav {
  /* max-height: 150px; */
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: stretch;
  transition: opacity 2s;
}

nav img {
  max-height: 100px;
  margin-left: 2rem;
}

.topnav {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: center;
  text-align: center;
  width: 60%;
}

.topnav > li {
  border-bottom: 2px solid transparent;
}

.topnav > li:hover {
  border-bottom: 2px solid var(--var-light-blue);
}

.topnav a {
  margin: 0 0.5rem;
  color: var(--var-background-blue);
  font-weight: normal;
}

.contact-info_tel {
  margin-left: 6rem;
  margin-bottom: -1rem;
  z-index: 10;
}

.navbar_contact-info {
  padding-left: 3rem;
  justify-content: center;
  align-items: flex-start;
  position: relative
}

.contact-info_menu {
  color: #fff;
}

.contact-info_menu i {
  font-size: 2rem;
}

.contact-info_menu a:visited,
.contact-info_menu a:active,
.contact-info_menu a:focus {
  color: #fff;
  font-weight: normal;
}

.contact-info_brush {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.contact-info_brush a {
  color: #fff;
  font-weight: normal;
}

.brush {
  max-height: 2rem;
  max-width: 100%;
  margin-left: 0;
  margin-bottom: 0.5rem;
}

@media only screen and (max-width: 1200px) {
  .topnav{
    width: 90%;
  }
}

@media only screen and (max-width: 800px) {
  nav {
    flex-wrap: wrap;
  }

  nav img {
    max-width: 100px;
    margin-left: 0;
  }

  nav a:hover {
    color: #fff;
  }

  .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;
    background-color: var(--var-background-blue);
  }

  .topnav li {
    margin: 1.5rem 0;
  }

  .topnav a {
    color: #fff;
  }

  .topnav > li:hover {
    color: var(--var-light-blue);
    border-bottom: 2px solid transparent;
  }

  .navbar_contact-info {
    padding: 1rem;
    padding-left: 2rem;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-grow: 1;
  }

  .brush {
    margin-bottom: 0;
  }
}

/* Index Page */
.banner-index {
  height: 600px;
  /* min-width: 100%; */
  position: relative;
  width: 100%;
  background-image: url(../images/reception-2.jpg);
  background-size: cover;
  background-position: center 60%;
}
@media only screen and (max-width: 768px) {
  .banner-index {
    height: 400px;
    background-position: right 45%;
  }
}
.banner {
  height: 400px;
  /* min-width: 100%; */
  position: relative;
  width: 100%;
  background-image: url(../images/reception-2.jpg);
  background-size: cover;
  background-position: center 45%;
}

.banner-filter {
  background: linear-gradient(
      to top,
      rgba(39, 43, 74, 0.5),
      rgba(39, 43, 74, 0.5)
    ),
    url(../images/reception-2.jpg) no-repeat center 45%;
  background-size: cover;
}

.banner-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  color: #fff;
  text-align: center;
  width: fit-content;
  font-weight: bold;
  font-size: 4rem;
}

.book-appointment {
  margin: auto;
  padding: 2rem 3rem;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: stretch;
  box-shadow: 0 0 8px 1px rgba(0, 0, 0, 0.3);
  position: absolute;
  background-color: #fff;
  width: 400px;
  top: -5rem;
  position: relative;
  border-top: 5px solid var(--var-light-blue);
  z-index: 2;
}

.book-appointment ::before {
  content: "";
  position: absolute;
  height: 5px;
  content: "";
  width: 50%;
  top: -5px;
  left: 0;
  background-color: var(--var-background-blue);
}

.book-appointment a {
  width: fit-content;
  font-size: 2rem;
  line-height: 2.5rem;
  text-align: left;
  color: #000;
  flex-basis: 30vw;
  align-self: center;
}

.space {
  position: relative;
  border: 1px solid var(--var-light-blue);
  margin: 0 2rem;
}

.introduction > .container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
}

.introduction > .container > * {
  margin: 0 2rem;
}

.introduction img {
  height: 400px;
  width: 30%;
  object-fit: cover;
  object-position: 30% center;
}

.introduction-text >h1 {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--var-background-blue);
}

@media only screen and (max-width: 768px) {
  .introduction > .container {
    flex-direction: column;
  }

  .introduction img {
    width: 90%;
    margin: 2rem 0 !important;
  }
  
  .book-appointment {
    padding: 2rem;
     width: 80%;
    max-width:80%;
    top: -6rem; 
  }
  
  .book-appointment a {
    flex-basis: 40%;
    flex-grow: 0;
    flex-shrink: 0;
    font-size: 1.8rem;
  }
}

.quick-links {
  background-color: var(--var-light-blue);
}

.quick-links_content,
.quick-link,
.quick-link_image {
  display: flex;
}

.quick-links_content {
  flex-direction: row;
  justify-content: space-evenly;
  align-items: stretch;
}

.quick-link {
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-end;
}

.quick-link > * {
  margin: 0 1rem;
}

.quick-link_image {
  background-color: var(--var-background-blue);
  height: 120%;
  width: 10rem;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
}

.quick-link_image > img {
  transform: translateX(-5rem);
  height: 8rem;
  width: auto;
  margin: 1.5rem 0;
}

.quick-link_text {
  margin-bottom: 1rem;
}

.quick-link_text > h4 {
  color: var(--var-background-blue);
  font-size: 2rem;
  text-align: left;
  margin-bottom: 0.1rem;
}

.quick-links_content a {
  color: var(--var-background-blue);
  text-decoration: underline;
}

@media only screen and (max-width: 768px) {
  .quick-links_content {
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
  }

  .quick-link {
    margin: 2rem 0;
  }

  .quick-link_image > img {
    transform: translateX(-3rem);
  }
}

.services h3 {
  width: fit-content;
  padding: 0 1rem;
  margin: auto;
}

.services_items {
  margin-top: 2rem;
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: center;
  flex-wrap: wrap;
}

.service {
  margin: 1rem 0;
  padding: 1rem 0;
  width: 35%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  border-bottom: 2px solid transparent;
}

.service:hover {
  border-bottom: 2px solid var(--var-light-blue);
}

.service > img {
  height: 4rem;
  width: auto;
  margin-right: 1rem;
}

.service > p {
  color: var(--var-background-blue);
  font-weight: bold;
}

@media only screen and (max-width: 768px) {
  .services_items {
    flex-direction: column;
    justify-content: center;
    align-items: space-evenly;
    font-size: 2rem;
  }

  .service {
    width: 90%;
    margin: 2rem;
    justify-content: flex-start;
  }

  .service > img {
    width: 4rem;
    height: auto;
  }
}

/* Google Maps */

.map iframe {
  box-shadow: 0 0 30px -8px var(--main-blue);
}

#map {
  height: 400px;
}

/* Footer */

footer,
.footer_details,
.contact,
.footer_socials,
.social-icons,
.social-icons i {
  display: flex;
}

footer {
  flex-direction: row;
  justify-content: space-between;
  align-items: stretch;
}

.footer_socials {
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  text-align: center;
  padding: 5rem 2rem;
}

.footer_socials > p {
  font-size: 1.5rem;
  margin-right: 1rem;
}

.social-icons {
  padding-right: 6.5rem;
  padding-bottom: 2rem;
}

.social-icons > li:first-child {
  margin-right: 0.5rem;
}
.social-icons > li:last-child {
  margin-left: 0.5rem;
}

.social-icons i {
  width: 30px;
  height: 30px;
  background-color: #fff;
  border-radius: 50%;
  padding: 0.5rem;
  color: var(--var-background-blue);
  text-align: center;
  justify-content: center;
  align-items: center;
}

.footer_details {
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  flex-basis: 80%;
  padding: 1rem 0;
  /* width: clamp(500px, 800px, 1000px); */
}

.hours {
  padding: 1rem 5rem;
  padding-right:0;
  flex-basis: 40%;
  text-align: left;
}

.hours-table{
  margin: auto;
  font-size: 1.8rem;
}

.contact {
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  padding: 2rem 5rem;
  font-size: 1.8rem;
  height: 100%;
  flex-basis: 40%;
}

.contact>a {
  color: var(--var-background-blue);
  font-weight: normal;
}

.contact > span {
  font-size: 1.2rem;
}

.contact img {
  max-height: 4rem;
}

.weeks,
.time {
  height: 100%;
}

.hours p {
  margin: 1rem;
}

.card {
  margin-top: 1rem;
  border-top: 8px solid #b1c7db;
  box-shadow: 0 0 8px 1px rgba(0, 0, 0, 0.3);
  padding: 0.5rem 1.5rem;
  max-width: 500px;
}

.copyright {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  font-size: 1.5rem;
/*  background-color: var(--var-light-blue);*/
}

@media only screen and (max-width: 768px) {
  footer {
    flex-direction: column;
    justify-content: center;
    font-size: 1.8rem;
  }

  .footer_details {
    flex-direction: column;
    justify-content: center;
  }

  .hours,
  .contact {
    padding: 1rem !important;
  }

  .contact {
    justify-content: center;
    align-items: center;
  }
  
  .contact img {
    display: block;
    margin: auto;
  }

  .card {
    width: 100% !important;
    max-width: 100% !important;
    margin: 1rem 0 !important;
  }

  .footer_socials.blue {
    width: 100%;
    padding-right: 0;
    align-items: center;
    text-align: center;
    padding: 2rem 0;
    order: 2;
  }
  
  .social-icons {
    padding-right: 0;
  }
  
  .footer_socials > p {
     margin-right: 0; 
  }
}

/* Our Office Page */
.our-office {
  background-image: url(../images/marble-background.jpg);
  object-fit: contain;
}

.gallery {
  padding: 1rem 0;
}

.gallery img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.gallery .row {
  margin: 2rem 0;
}

.meet-team {
  padding: 5rem 0;
  background-image: url(../images/leaves-background_new.png);
  object-fit: contain;
  width: 100%;
}

.meet-team_banner {
  margin: auto;
  padding: 2rem 3rem;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: stretch;
  box-shadow: 0 0 8px 1px rgba(0, 0, 0, 0.3);
  background-color: #fff;
  width: 400px;
  position: relative;
  border-top: 5px solid var(--var-light-blue);
  z-index: 2;
}

.meet-team_banner ::before {
  content: "";
  position: absolute;
  height: 5px;
  content: "";
  width: 50%;
  top: -5px;
  left: 0;
  background-color: var(--var-background-blue);
}

.meet-team_banner a {
  font-size: 2rem;
  line-height: 2.5rem;
  text-align: left;
  color: #000;
  flex-basis: 30vw;
  align-self: center;
  flex-grow: 0;
}

@media only screen and (max-width: 768px) {
  .gallery img {
    width: 100%;
    margin: 1rem 0;
  }
  
  .meet-team_banner {
    padding: 2rem;
     width:80%; 
    max-width: 80%;
  }
  
  .meet-team_banner a {
    flex-basis: 50%;
  }
}

/* Dental Team Page */
.dental-team p {
  margin-bottom: 1rem;
}

.team-member {
  padding: 2rem 0;
}

.team-member:first-child {
  padding: 0;
}

.name-banner {
  width: 50%;
}

.name-banner.right {
  transform: translateX(100%);
}

.name-banner.right .quick-link {
  justify-content: flex-end;
}

.name-banner.right .quick-link_image > img {
  transform: translateX(5rem);
}

.team-member_description {
  padding: 2rem 0;
}

.team-member_image {
  height: 400px;
  object-fit: cover;
}

.team-member_june {
  float: right;
  padding-left: 2%;
}

.team-member_role {
  position: relative;
}

.team-member_role.left::before,
.team-member_role.right::after {
  content: "";
  position: absolute;
  width: 5rem;
  top: 2.5rem;
}

.team-member_role.right::after {
  right: 0.001rem;
}

@media only screen and (max-width: 768px) {
  .name-banner {
    width: 100%;
  }

  .team-member_image {
    padding-bottom: 2rem;
  }
  
  .team-member_june {
    float: none;
    padding-left: 0;
  }

  .name-banner.right {
    transform: translateX(0);
  }

  .name-banner.right .quick-link_image > img {
    transform: translateX(3rem);
  }
}

@media only screen and (min-width: 1200px) {
  .name-banner.quick-links.left .quick-link_image {
    margin-left: 40%;
  }
  
  .name-banner.quick-links.right .quick-link_image {
    margin-right: 40%;
  }
  
}

/* Services Page */
.services-navbar {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  border: 2px solid var(--var-background-blue);
  width: 100%;
}

.services-navbar a{
  font-weight: normal;
}

.services-navbar a,.services-navbar a:active,.services-navbar a:focus {
  color: var(--var-background-blue);
}

.services-navbar a:hover{
  color: var(--var-light-blue);
}

.services-navbar ul {
  width: 100%;
}

.services-navbar h3, .services-navbar li {
  width: 100%;
  padding: 0.5rem;
  cursor: pointer;
}

.services-navbar a {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-self: center;
}

.services-navbar h3 {
  margin-bottom: 0;
  font-size: 2rem;
  border-top: 2px solid var(--var-background-blue);
}

.services-navbar h3>a {
  margin-left: 1rem;
}

.services-navbar h3:first-child {
  border-top: 0;
}

.content {
  /*max-height: 0;*/
  overflow: hidden;
  transition: max-height 0.2s ease-out;
  list-style: none;
}

.content li {
  display: block;
  padding: 0.8rem 2rem;
  position: relative;
  border-bottom: 2px solid var(--var-light-blue);
}

.content li:last-child {
  border-bottom: 0;
}

.content li ::before {
  content: "";
  position: absolute;
  height: 2px;
  width: 30%;
  bottom: -2px;
  left: 0;
  background-color: var(--var-background-blue);
  z-index: 2;
}

.content li:last-child::before {
  height: 0;
}

.implant-promo {
  text-align: center;
  border: 3px solid #B1C7DB;
  background-color: #fff;
  padding: 2%;
  margin-bottom: 2%;
}

.services-navbar .collapsible:before {
  content: "\002B";
  font-size: 2rem;
  margin: 0 1rem;
}

.services-navbar .active:before {
  content: "\2212";
  font-size: 2rem;
  margin: 0 1rem;
}

.services-content h3 {
  font-size: 2.2rem;
  font-weight: bold;
  text-transform: capitalize;
}

.services-content li {
  margin-left: 5rem;
  list-style: circle;
  font-size: 1.8rem;
}

.services-content img {
  margin-right: 2rem;
  margin-bottom: 1rem;
}


@media only screen and (max-width: 768px) {
  .services-navbar {
    margin: 2rem 0;
  }

  .dental-implants .card {
    max-width: 100% !important;
  }
  
  .services-content img {
    display: block;
    float: none;
    margin: 1rem auto;
  }
  
  .dental-emergency ul {
    margin-left: 0 !important;
  }
}

/* COVID Page */
.covid-protocols-content li {
  margin-left: 5rem;
  list-style: circle;
  font-size: 1.8rem;
}

.covid-protocols-content img {
  width: 50%;
  margin-bottom: 2%;
}
@media only screen and (max-width: 500px) {
  .covid-protocols-content img {
    width: 100%;
  }
}

.alert {
  padding: 1%;
  background-color: #B1C7DB;
  color: #2B2F52;
  font-size: 2.0rem;
  text-align: center;
}

.alert a {
  color: #2B2F52;
}

.alert a:hover {
  color: #fff;
}


.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;
}