/* ----------------------------------------------------------------------------------------------------------------- */
/* ---------------------------------------------------- GENERAL ---------------------------------------------------- */
/* ----------------------------------------------------------------------------------------------------------------- */

html {
	overflow-x: hidden;
  font-family: "Source Sans Pro", sans-serif;
  font-size: 16px;
  line-height: normal;
}

body {
  cursor: default;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background: #fff;
  color: #3e3f3d;
  font-family: "Source Sans Pro", sans-serif;
  font-weight: normal;
  line-height: normal;
}

* {
	box-sizing: border-box;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  color: #3e3f3d;
  font-family: "Source Sans Pro", sans-serif;
  font-weight: normal;
  line-height: normal;
}

h1 {
  font-size: 2.2rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.8rem;
}

h4 {
  font-size: 1.6rem;
}

h5 {
  font-size: 1.4rem;
}

h6 {
  font-size: 1.2rem;
}

p {
  margin: 0;
  font-family: "Source Sans Pro", sans-serif;
  font-size: 1rem;
  line-height: 170%;
}

a {
  color: #3e3f3d;
  text-decoration: none;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
}

a:focus,
a:hover {
  /*color: #33bdc8;*/
  text-decoration: none;
  outline: none;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
}

i {
  padding: 0 0.1rem;
}

label {
  display: block;
  font-size: 1rem;
}

input {
  font-family: "Source Sans Pro", sans-serif;
  font-size: 1rem;
}

button {
	cursor: pointer;
	display: inline-block;
  margin: 0 auto;
  padding: 0.7rem 1.2rem;
  background: #fff;
  border: none;
  border-radius: 50px;
  color: #3e3f3d;
  font-family: "Source Sans Pro", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  outline: none;
  box-shadow: 0 15px 8px -13px rgba(0, 0, 0, 0.2);

  /* border: 2px solid #3e3f3d; */
  /* border: 2px solid #33bdc8; */
}

button:focus,
button:hover {
  /*color: #33bdc8;*/
  text-decoration: none;
  outline: none;
  box-shadow: none;
}

:active,
:focus {
  color: inherit;
  text-decoration: inherit;
}

.container {

}

.centered {
  display: flex;
  height: 100%;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}

.required {
  color: #f00;
}

/* -------------------------------------------------- Responsive --------------------------------------------------- */

@media (max-width: 1000px) {
  html {
    font-size: 14px;
  }
}

@media (min-width: 1801px) {
  html {
    font-size: 25px;
  }
}

/* ----------------------------------------------------------------------------------------------------------------- */
/* ------------------------------------------------ FLOATING BUTTON ------------------------------------------------ */
/* ----------------------------------------------------------------------------------------------------------------- */

.floating-button {
  position: fixed;
  bottom: 0.5rem;
  right: 0.5rem;
  display: none;
  justify-content: center;
  align-items: center;
  width: 2.5rem;
  height: 2.5rem;
  padding-bottom: 0.2rem;
  background: #79dde8;
  border-radius: 50px;
  color: #fff;
  font-size: 2rem;
  text-align: center;
  box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  z-index: 10;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -ms-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

.floating-button:hover {
  -webkit-transform: scale(1.1);
  -moz-transform: scale(1.1);
  -ms-transform: scale(1.1);
  -o-transform: scale(1.1);
  transform: scale(1.1);
}

/* ----------------------------------------------------------------------------------------------------------------- */
/* ---------------------------------------------------- HEADER ----------------------------------------------------- */
/* ----------------------------------------------------------------------------------------------------------------- */

/* --------------------------------------------------- Icon Bar ---------------------------------------------------- */

#icon-bar-grid {
  display: grid;
  grid-template-areas: "left right";
  padding: 0.25rem 0.5rem 0.25rem 0.5rem;
  background: #3e3f3d;
  border-bottom: 1px solid #3e3f3d;
  color: #fff;
  font-size: 1rem;
  font-weight: 300;
}

#icon-bar-grid a {
  color: #fff;
}

#icon-bar-grid a:focus,
#icon-bar-grid a:hover {
  color: #ddd;
}

#icon-bar-left {
	grid-area: left;
	text-align: left;
}

#icon-bar-left a {
  text-decoration: underline;
}

#icon-bar-right {
	grid-area: right;
	text-align: right;
}

.icon-bar-break {
  display: none;
}

/* -------------------------------------------------- Alternative -------------------------------------------------- */

#icon-bar {
  padding: 0.25rem 0.5rem 0.2rem 0.5rem;
  background: #3e3f3d;
  border-bottom: 1px solid #3e3f3d;
  font-size: 1rem;
  font-weight: 300;
  text-align: center;
}

#icon-bar a,
#icon-bar a:focus,
#icon-bar a:hover {
  color: #fff;
}

#icon-bar i {
  font-size: 1.2rem;
}

/* ------------------------------------------------ Navigation Bar ------------------------------------------------- */

#navigation-bar {
	display: grid;
	grid-template-areas: "logo menu";
	padding: 1.2rem 1.5rem;
}

#navigation-bar-logo {
	grid-area: logo;
	display: grid;
	grid-template: "icon caption";
	grid-column-gap: 0.1rem;
	margin-right: auto;
}

#navigation-bar-logo-icon {
	grid-area: icon;
}

#navigation-bar-logo-caption {
	grid-area: caption;
	margin: auto;
  font-weight: 300;
}

#navigation-bar-logo-caption-title {
  display: block;
	color: #33bdc8;
	font-size: 1.3rem;
  font-weight: 700;
	text-transform: uppercase;
	line-height: 150%;
}

#navigation-bar-logo-caption-title span {
  display: inline-block;
}

#navigation-bar-menu {
	grid-area: menu;
	margin: auto 0 auto auto;
  overflow: hidden;
}

#navigation-bar-menu > a {
	padding: 1rem;
}

#navigation-bar-menu > .active {
  color: #33bdc8;
  font-weight: 600;
}

#navigation-bar-menu > a:hover {
  color: #aaa;
}

.nav a:last-child {
  display: none;
  font-size: 1.2rem;
}

/* -------------------------------------------- Fullscreen Overlay Nav --------------------------------------------- */

.overlay {
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  overflow-x: hidden;
  background: rgb(255, 255, 255);
}

.overlay a {
  display: block;
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 200%;
  text-transform: uppercase;
}

.overlay .btn-close {
  position: absolute;
  top: 1.5rem;
  right: 3rem;
  font-size: 4rem;
}

.overlay-content {
  position: relative;
  top: 30%;
  width: 100%;
  text-align: center;
}

.overlay-content > .active {
  color: #33bdc8;
}

/* -------------------------------------------------- Responsive --------------------------------------------------- */

@media (max-width: 450px) {
    #navigation-bar {
      padding: 2.5rem 0.8rem;
    }

    #navigation-bar-logo {
      grid-column-gap: 0;
    }

    #navigation-bar-logo-icon a img {
      max-width: 90%;
      height: auto;
    }

    #navigation-bar-logo-caption-title {
      margin-bottom: 0.27rem;
      line-height: 100%;
    }
}

@media (max-width: 775px) {
  .nav a:not(:last-child) {
    display: none;
  }

  .nav a:last-child,
  .overlay {
    display: block;
  }

  #navigation-bar-menu > a {
    padding-right: 0;
  }
}

@media (min-width: 776px) {
  .overlay {
    display: none;
  }
}

/* --------------------------------------------------- Info Bar ---------------------------------------------------- */

#info-bar {
	display: grid;
	grid-template: "opening-hour contact-us online-reservation" 1fr / 1fr 1fr 1fr;
}

#info-bar-opening-hour {
	grid-area: opening-hour;
  background: #4ccedb;

	/* background: #3ec9d6; */
}

#info-bar-contact-us {
	grid-area: contact-us;
  background: #79dde8;

	/* background: #efefef; */
}

#info-bar-online-reservation {
	grid-area: online-reservation;
  background: #a1e8f0;

	/* background: #bedb72; */
}

#info-bar-online-reservation a {
	text-decoration: underline;
}

#info-bar-online-reservation a:hover,
#info-bar-online-reservation a:focus {
  font-weight: 600;
}

.info-bar-item {
	display: grid;
	grid-template-columns: 15% 85%;
	grid-template-areas: "icon title" "icon caption";
	grid-gap: 0.5rem 1.2rem;
	padding: 1.2rem 1rem;
}

.info-bar-icon {
	grid-area: icon;
	text-align: right;
}

.info-bar-icon > img {
  max-height: 100%;
  max-width: 100%;
}

.info-bar-title {
	grid-area: title;
	font-size: 1.1rem;
	font-weight: 700;
  line-height: 150%;
}

.info-bar-caption {
	grid-area: caption;
	padding-right: 1rem;
	color: #3e3f3d;
	text-align: left;
  line-height: 145%;
}

.info-bar-caption a,
.info-bar-caption span {
  display: block;
	color: #3e3f3d;
}

.info-bar-caption-thin {
	font-weight: 300;
}

/* -------------------------------------------------- Responsive --------------------------------------------------- */

@media (max-width: 450px) {
  .info-bar-icon > img {
    max-height: 35%;
    width: auto;
  }
}

@media (max-width: 550px) {
  #icon-bar {
    padding-bottom: 0.4rem;
    line-height: 125%;
  }

  .icon-bar-break {
    display: inline;
  }
}

@media (max-width: 660px) {
	#info-bar {
    display: grid;
		grid-template-areas:
      "opening-hour opening-hour opening-hour"
      "contact-us contact-us contact-us"
      "online-reservation online-reservation online-reservation";
    grid-column: 1fr 1fr 1fr;
	}
}

@media (min-width: 661px) and (max-width: 800px) {
  .info-bar-item {
    display: grid;
    grid-template-columns: 100%;
    grid-template-areas: "title" "caption";
  }

  .info-bar-icon {
    display: none;
  }
}

/* ----------------------------------------------------------------------------------------------------------------- */
/* ---------------------------------------------------- FOOTER ----------------------------------------------------- */
/* ----------------------------------------------------------------------------------------------------------------- */

/* --------------------------------------------------- Copyright --------------------------------------------------- */

#copyright {
  padding: 0.15rem 0 0.3rem 0;
  background: #3e3f3d;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 300;
  text-align: center;
}

/* -------------------------------------------------- Reservation -------------------------------------------------- */

.reservation-blue,
.reservation {
  display: grid;
  grid-template: "image form" 1fr / 1fr 1fr;
}

.reservation {
  background: #fff;
}

#reservation-image {
  grid-area: image;
  background: url("img/reservation.png") center;
  background-size: cover;
}

#reservation-form {
  grid-area: form;
  padding: 0 4rem 1.5rem 4rem;
}

#reservation-form h3 {
  margin-bottom: 0.5rem;
  color: #33bdc8;
  font-weight: 700;
  text-align: right;
  text-transform: uppercase;
}

.form-section {
  margin-bottom: 0.6rem;
}

.form-section label {
  color: #3e3f3d;
  font-weight: 400;
}

.form-section input {
  width: 100%;
  margin: 0.3rem 0;
  padding: 0.5rem 1rem;
  background: #fff;
  border: 1px solid #3e3f3d;
  outline: none;
  color: #3e3f3d;
}


.form-section input:focus {
  border: 1px solid #33bdc8;
}

.form-section button {
  margin-top: 0.5rem;
  background: #33bdc8;
  color: #fff;
}

/* ---------------------------------------------- Reservation - Blue ----------------------------------------------- */

.reservation-blue {
  background: #a1e8f0;
}

.reservation-blue #reservation-form {
  padding: 4rem 4rem 1.5rem 4rem;
}

.reservation-blue #reservation-form h3 {
  color: #3e3f3d;
}

.reservation-blue #reservation-form .form-section label {
  color: #3e3f3d;
}

.reservation-blue #reservation-form .form-section input {
  background: #a1e8f0;
}

.reservation-blue #reservation-form .form-section button {
  background: #3e3f3d;
}

/* -------------------------------------------------- Responsive --------------------------------------------------- */

@media (max-width: 375px) {
  .reservation #reservation-form {
    padding: 3.2rem 0.5rem 1.7rem 0.5rem;
  }

  .reservation-blue #reservation-form {
    padding: 6.5rem 0.5rem 1.7rem 0.5rem;
  }
}

@media (min-width: 376px) and (max-width: 700px) {
  .reservation #reservation-form {
    padding: 3.5rem 1.1rem 2rem 1.1rem;
  }

  .reservation-blue #reservation-form {
    padding: 6.5rem 1.1rem 2rem 1.1rem;
  }
}

@media (max-width: 700px) {
  .reservation,
  .reservation-blue {
    grid-template: "form" 1fr / 1fr;
  }

  #reservation-form {
    text-align: center;
  }

  .reservation #reservation-form h3,
  .reservation-blue #reservation-form h3 {
    margin-bottom: 1rem;
    text-align: center;
  }

  .g-recaptcha {
    display: inline-block;
  }
}

@media (min-width: 701px) and (max-width: 1100px) {
  .reservation #reservation-form {
    padding: 1.7rem 4rem 1.5rem 4rem;
  }

  .reservation #reservation-form h3,
  .reservation-blue #reservation-form h3 {
    margin-bottom: 0.7rem;
  }
}

@media (min-width: 1101px) and (max-width: 1400px) {
  .reservation #reservation-form {
    padding: 1rem 4rem 1.5rem 4rem;
  }
}

/* ----------------------------------------------------------------------------------------------------------------- */
/* ----------------------------------------------------- HOME ------------------------------------------------------ */
/* ----------------------------------------------------------------------------------------------------------------- */

/* ---------------------------------------------------- Banner ----------------------------------------------------- */

#home-banner {
  position: relative;
	height: 35rem;
	background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url("img/home/banner-home.png") center;
	background-size: cover;
	color: #fff;
}

#home-banner-content {
  position: absolute;
  bottom: 5.5rem;
  width: 100%;
  text-align: center;
}

#home-banner-content h1 {
  margin-bottom: 0.4rem;
  padding: 0 1rem;
	color: #fff;
	font-size: 4rem;
	font-weight: 700;
	text-transform: uppercase;
	line-height: 100%;
}

#home-banner-content h2 {
  padding: 0 1rem;
	color: #fff;
  font-weight: 300;
	text-transform: uppercase;
}

#home-banner-content h1 span,
#home-banner-content h2 span {
  display: inline-block;
}

/* -------------------------------------------------- Responsive --------------------------------------------------- */

@media (max-width: 641px) {
  #home-banner-content h1 {
    margin-bottom: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
  }
}

@media (max-width: 900px) {
  #home-banner {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url("img/home/banner-home.png") center;
    background-size: cover;
  }
}

/* ---------------------------------------------------- Panels ----------------------------------------------------- */

#panels {
  position: relative;
  top: 3.6rem;
  background: #fff;
  box-shadow: 0 15px 8px -13px rgba(0, 0, 0, 0.2);
  transform: skewY(-5deg);
}

#panels-content {
  display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-areas: "about-us meet-our-team" "our-services our-clinic";
	grid-gap: 4rem;
	padding: 0 8% 8% 8%;
  transform: skew(5deg) rotate(5deg);
}

#panel-about-us {
	grid-area: about-us;
  position: relative;
}

#panel-meet-our-team {
	grid-area: meet-our-team;
}

#panel-our-services {
	grid-area: our-services;
  position: relative;
}

#panel-our-clinic {
	grid-area: our-clinic;
}

.panel {
	display: grid;
	grid-template-rows: auto 1fr auto;
	grid-template-areas: "image" "caption" "button";
	background: #4ccedb;
	text-align: center;
  box-shadow: 0 15px 8px -13px rgba(0, 0, 0, 0.2);
}

.panel-image {
	grid-area: image;
}

.panel-image > img {
	width: 100%;
	height: auto;
}

.panel-caption {
	grid-area: caption;
	padding: 2rem 2.5rem;
  font-weight: 300;
}

.panel-caption > h3 {
	margin-bottom: 0.7rem;
  font-weight: 700;
	text-transform: uppercase;
}

.panel-button {
	grid-area: button;
	padding: 0 2.5rem 2.5rem 2.5rem;
}

/* -------------------------------------------------- Responsive --------------------------------------------------- */

@media (max-width: 400px) {
  #panels-content {
    padding: 0.5% 8% 4rem 8%;
  }
}

@media (min-width: 401px) and (max-width: 600px) {
  #panels-content {
    padding: 0.5% 8% 5rem 8%;
  }
}

@media (min-width: 601px) and (max-width: 850px) {
  #panels-content {
    padding: 0.5% 8% 5.5rem 8%;
  }
}

@media (max-width: 850px) {
  #panels-content {
    grid-template-columns: 1fr;
    grid-template-areas: "about-us" "meet-our-team" "our-services" "our-clinic";
    grid-gap: 3.4rem;
  }

  .panel-caption {
    padding: 1.5rem 1.5rem 2rem 1.5rem;
  }

  .panel-button {
    padding: 0 1.5rem 2.5rem 1.5rem;
  }
}

@media (min-width: 1301px) {
  #panels {
    top: 5rem;
  }
}

/* ----------------------------------------------------------------------------------------------------------------- */
/* --------------------------------------------------- ABOUT US ---------------------------------------------------- */
/* ----------------------------------------------------------------------------------------------------------------- */

/* ---------------------------------------------------- Banner ----------------------------------------------------- */

#about-us-banner {
  position: relative;
  height: 25rem;
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url("img/about-us/banner.png") center;
  background-size: cover;
  color: #fff;
}

#about-us-banner-content {
  position: absolute;
  bottom: 12%;
  width: 100%;
  text-align: center;
}

#about-us-banner-content h1 {
  padding: 0 1rem;
  color: #fff;
  font-size: 4rem;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 120%;
}

/* --------------------------------------------------- Our Story --------------------------------------------------- */

#our-story {
  padding: 2.5rem 7.5rem 2rem 7.5rem;
  text-align: center;
}

#our-story h2 {
  color: #33bdc8;
  font-size: 3rem;
  font-weight: 700;
  text-transform: uppercase;
}

#our-story h3 {
  margin-bottom: 1.4rem;
  font-size: 1.3rem;
  font-weight: 300;
}

#our-story p {
  margin-bottom: 1.5rem;
  font-weight: 300;
}

/* -------------------------------------------------- Responsive --------------------------------------------------- */

@media (max-width: 900px) {
  #our-story {
    padding: 2.5rem;
  }

  #our-story h3 {
    margin-bottom: 1.9rem;
  }
}

@media (min-width: 1251px) and (max-width: 2000px) {
  #our-story {
    padding: 2.5rem 7.5rem 3rem 7.5rem;
  }
}

@media (min-width: 2001px) {
  #our-story {
    padding: 2.5rem 7.5rem 3.7rem 7.5rem;
  }
}

/* ------------------------------------------------- Meet Our Team ------------------------------------------------- */

#meet-our-team {
  padding: 4.7rem 5rem 4rem 5rem;
  background: #33bdc8;
  box-shadow: 0 15px 8px -13px rgba(0, 0, 0, 0.2), inset 0 15px 8px -13px rgba(0, 0, 0, 0.2);
  transform: skewY(-5deg);
}

#meet-our-team > div {
  transform: skew(5deg) rotate(5deg);
}

#meet-our-team h2 {
  margin-bottom: 2rem;
  color: #fff;
  font-size: 3rem;
  font-weight: 700;
  text-transform: uppercase;
}

#our-team {
  display: grid;
  grid-template-areas: "dentist-1 dentist-2 dentist-3 dentist-4"
                       "dentist-5 dentist-6 dentist-7 dentist-8";
  grid-gap: 2rem;
}

.dentist {
  text-align: center;
}

.dentist img {
  height: 12rem;
  width: 12rem;
  margin-bottom: 0.3rem;
  border-radius: 100px;
  box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.2);
}

.dentist label {
  color: #fff;
  font-weight: 400;
}

#dentist-8 img {
  box-shadow: none;
}

/* -------------------------------------------------- Responsive --------------------------------------------------- */

@media (max-width: 400px) {
  #meet-our-team {
    padding: 3.7rem 3rem 3rem 3rem;
    text-align: center;
  }

  #meet-our-team h2 {
    line-height: 110%;
  }

  #our-team {
    grid-template-areas: "dentist-1"
                         "dentist-2"
                         "dentist-3"
                         "dentist-4"
                         "dentist-5"
                         "dentist-6"
                         "dentist-7";
  }

  #dentist-8 {
    display: none;
  }

  .dentist img {
    height: 13rem;
    width: 13rem;
  }

  .dentist label {
    margin-bottom: 0.7rem;
    font-weight: 600;
  }
}

@media (min-width: 401px) and (max-width: 550px) {
  #meet-our-team {
    padding: 3.7rem 3rem 2.7rem 3rem;
    text-align: center;
  }

  #meet-our-team h2 {
    line-height: 110%;
  }

  #our-team {
    grid-template-areas: "dentist-1 dentist-2"
                         "dentist-3 dentist-4"
                         "dentist-5 dentist-6"
                         "dentist-7 dentist-8";
  }
}

@media (min-width: 551px) and (max-width: 750px) {
  #meet-our-team {
    padding: 4.7rem 3rem 2.7rem 3rem;
  }

  #our-team {
    grid-template-areas: "dentist-1 dentist-2 dentist-3"
                         "dentist-4 dentist-5 dentist-6"
                         "dentist-7 dentist-8 dentist-8";
  }
}

@media (min-width: 751px) and (max-width: 900px) {
  #meet-our-team {
    padding: 4.7rem 3rem 4.2rem 3rem;
  }
}

@media (min-width: 401px) and (max-width: 900px) {
  .dentist img {
    height: 9.5rem;
    width: 9.5rem;
  }
}

@media (min-width: 901px) and (max-width: 1100px) {
  .dentist img {
    height: 10.5rem;
    width: 10.5rem;
  }
}

@media (min-width: 1401px) {
  #meet-our-team {
    padding: 6rem 5rem 4.7rem 5rem;
  }
}

/* ----------------------------------------------------------------------------------------------------------------- */
/* ------------------------------------------------- OUR SERVICES -------------------------------------------------- */
/* ----------------------------------------------------------------------------------------------------------------- */

/* ---------------------------------------------------- Banner ----------------------------------------------------- */

#our-services-banner {
  position: relative;
  height: 25rem;
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url("img/our-services/banner.png") center;
  background-size: cover;
  color: #fff;
}

#our-services-banner-content {
  position: absolute;
  bottom: 12%;
  width: 100%;
  text-align: center;
}

#our-services-banner-content h1 {
  padding: 0 1rem;
  color: #fff;
  font-size: 4rem;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 120%;
}

/* ------------------------------------------------- Our Services -------------------------------------------------- */

#our-services {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-areas: "one two three"
                       "four five six"
                       "seven eight nine"
                       "ten eleven twelve";
  grid-gap: 4rem;
  padding: 4rem 5% 6.2rem 5%;
}

#one {
  grid-area: one;
}

#two {
  grid-area: two;
}

#three {
  grid-area: three;
}

#four {
  grid-area: four;
}

#five {
  grid-area: five;
}

#six {
  grid-area: six;
}

#seven {
  grid-area: seven;
}

#eight {
  grid-area: eight;
}

#nine {
  grid-area: nine;
}

#ten {
  grid-area: ten;
}

#eleven {
  grid-area: eleven;
}

.service {
  display: grid;
  grid-template-rows: auto 1fr;
  grid-template-areas: "image" "caption";
  border: 2px solid #4ccedb;
  text-align: center;
  box-shadow: 0 15px 8px -13px rgba(0, 0, 0, 0.2);
}

.service-image {
  grid-area: image;
}

.service-image > img {
  width: 100%;
  height: auto;
}

.service-caption {
  position: relative;
  grid-area: caption;
  margin-top: -2.25rem;
  padding: 0 10% 1.8rem 10%;
  font-weight: 300;
  line-height: 150%;
  min-height: 16rem;
}

.service-caption-title {
  margin-bottom: 1.2rem;
  padding: 0.7rem 1.2rem;
  background: #33bdc8;
  border: none;
  border-radius: 50px;
  text-align: center;
}

.service-caption-title > h3 {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 110%;
}

.service-caption-title > h3 span {
  display: block;
}

.service-read-more {
  position: absolute;
  bottom: 1.5rem;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
}

.service-read-more a {
  color: #33bdc8;
  font-weight: 600;
  text-decoration: underline;
}

.service-read-more a:focus,
.service-read-more a:hover {
  color: #ccc;
}

/* ----------------------------------------------------- Modal ----------------------------------------------------- */

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding-top: 20vh;
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0,0.3);
}

.modal-content {
  grid-template-areas: "close" "caption";
  grid-template-rows: 5% 95%;
  display: grid;
  padding: 1.5rem;
  margin: auto 20rem;
  background: #fff;
  border: 2px solid #4ccedb;
}

.modal-content-close {
  font-size: 2rem;
  text-align: right;
}

.modal-content-close a:focus,
.modal-content-close a:hover {
  color: #ccc;
}

.modal-content-caption {
  grid-area: caption;
  padding: 0 3rem;
  line-height: 150%;
}

.modal-content-caption h3 {
  padding: 1rem 0;
  color: #33bdc8;
  font-weight: bold;
  text-align: left;
}

.modal-content-caption p {
  text-align: justify;
}

.modal-content-caption p > a {
  color: #33bdc8;
  font-weight:  bold;
}

.modal-content-caption p > a:focus,
.modal-content-caption p > a:hover {
  text-decoration: underline;
}

/* -------------------------------------------------- Responsive --------------------------------------------------- */

/* ===================================================== 0-320 ===================================================== */
@media (max-width: 320px) {
  .service-read-more {
    display: none;
  }
}

/* ==================================================== 476-650 ==================================================== */
@media (min-width: 476px) and (max-width: 650px) {
  #our-services {
    padding: 4rem 15% 5rem 15%;
  }
}

/* ==================================================== 651-700 ==================================================== */
@media (min-width: 651px) and (max-width: 700px) {
  #our-services {
    grid-gap: 2.2rem;
  }
}

/* ==================================================== 901-1000 =================================================== */
@media (min-width: 901px) and (max-width: 1000px) {
  #our-services {
    grid-gap: 3rem;
  }
}

/* ===================================================== 1401+ ===================================================== */
@media (min-width: 1401px) {
  #our-services {
    padding: 4rem 5% 7.2rem 5%;
  }
}

/* ===================================================== 0-525 ===================================================== */
@media (max-width: 525px) {
  #our-services {
    grid-template-columns: 1fr;
    grid-template-areas: "one"
                         "two"
                         "three"
                         "four"
                         "five"
                         "six"
                         "seven"
                         "eight"
                         "nine"
                         "ten"
                         "eleven"
                         "twelve";
    grid-gap: 2.7rem;
    padding: 4rem 5% 5rem 5%;
  }

  .service-caption {
    margin-top: -1.65rem;
    padding: 0 5% 1.2rem 5%;
    min-height: 1rem;
  }

  .service-caption-title > h3 span {
    display: inline;
  }

  .service-read-more {
    position: relative;
    margin-top: 2.2rem;
    margin-left: auto;
    margin-right: auto;
  }
  
  .modal {
    padding-top: 10vh;
  }

  .modal-content {
    margin: auto 3rem;
  }

  .modal-content-caption {
    padding: 0 1rem;
  }

  .modal-content-caption h3 {
    line-height: 90%;
  }

  .modal-content-caption p {
    text-align: left;
  }
}

/* ==================================================== 526-900 ==================================================== */
@media (min-width: 526px) and (max-width: 900px) {
  #our-services {
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "one two"
                         "three four"
                         "five six"
                         "seven eight"
                         "nine ten"
                         "eleven twelve";
    grid-gap: 3rem;
    padding: 4rem 5% 5.7rem 5%;
  }

  .modal-content-caption {
    padding: 0 2rem;
  }
}

/* ==================================================== 526-700 ==================================================== */
@media (min-width: 526px) and (max-width: 700px) {
  .modal-content {
    margin: auto 5rem;
  }
}

/* ==================================================== 701-900 ==================================================== */
@media (min-width: 701px) and (max-width: 900px) {
  .modal-content {
    margin: auto 10rem;
  }
}

/* ==================================================== 901-1200 =================================================== */
@media (min-width: 901px) and (max-width: 1200px) {
  .modal-content {
    margin: auto 15rem;
  }
}

/* -------------------------------------------------- Our Clinic --------------------------------------------------- */

#our-clinic {
  padding: 4.7rem 5% 4.2rem 5%;
  background: #33bdc8;
  box-shadow: 0 15px 8px -13px rgba(0, 0, 0, 0.2), inset 0 15px 8px -13px rgba(0, 0, 0, 0.2);
  transform: skewY(-5deg);
}

#our-clinic > div {
  transform: skew(5deg) rotate(5deg);
}

#our-clinic h2 {
  margin-bottom: 2rem;
  color: #fff;
  font-size: 3rem;
  font-weight: 700;
  text-transform: uppercase;
}

/* -------------------------------------------------- Responsive --------------------------------------------------- */

@media (max-width: 550px) {
  #our-clinic {
    padding: 3rem 5%;
    text-align: center;
  }
}

@media (min-width: 551px) and (max-width: 750px) {
  #our-clinic {
    padding: 3.7rem 5% 3.2rem 5%;
  }
}

@media (min-width: 1401px) {
  #our-clinic {
    padding: 6.5rem 5% 6.2rem 5%;
  }
}

/* ----------------------------------------------------------------------------------------------------------------- */
/* -------------------------------------------------- CONTACT US --------------------------------------------------- */
/* ----------------------------------------------------------------------------------------------------------------- */

/* ---------------------------------------------------- Banner ----------------------------------------------------- */

#contact-us-banner {
  position: relative;
  height: 25rem;
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url("img/contact-us/banner.png") left;
  background-size: cover;
  color: #fff;
}

#contact-us-banner-content {
  position: absolute;
  bottom: 12%;
  width: 100%;
  text-align: center;
}

#contact-us-banner-content h1 {
  padding: 0 1rem;
  color: #fff;
  font-size: 4rem;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 120%;
}

/* -------------------------------------------------- Contact Us --------------------------------------------------- */

#contact-us {
  position: relative;
  top: 3.6rem;
  background: #fff;
  box-shadow: 0 15px 8px -13px rgba(0, 0, 0, 0.2);
  transform: skewY(-5deg);
}

#contact-us-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas: "details map";
  grid-gap: 1rem;
  padding: 0 10% 8% 10%;
  transform: skew(5deg) rotate(5deg);
}

#details {
  grid-area: details;
}

.details-item {
  display: grid;
  grid-template-columns: 15% 80%;
  grid-template-areas: "icon title" "icon caption";
  grid-gap: 0.5rem 5%;
  padding: 1.2rem 1rem;
}

.details-icon {
  grid-area: icon;
  display: flex;
  justify-content: center;
  align-items: center;
}

.details-title {
  grid-area: title;
  color: #33bdc8;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 150%;
}

.details-caption {
  grid-area: caption;
  padding-right: 1rem;
  color: #3e3f3d;
  text-align: left;
  line-height: 145%;
}

.details-caption a,
.details-caption span {
  display: block;
  color: #3e3f3d;
  font-size: 1.2rem;
  font-weight: 300;
}

#details-phone div a {
  display: inline;
}

#map {
  grid-area: map;
}

/* -------------------------------------------------- Responsive --------------------------------------------------- */

@media (max-width: 450px) {
  #contact-us-content {
    padding: 0 4% 5rem 4%;
  }

  .details-item {
    grid-gap: 0.2rem 5%;
  }

  .details-icon > img {
    width: 40px;
    height: 40px;
  }

  .details-title {
    font-size: 1.4rem;
  }

  .details-caption a,
  .details-caption span {
    font-size: 1.1rem;
  }
}

@media (max-width: 700px) {
  #contact-us-content {
    grid-template-rows: 1fr 1fr;
  }
}

@media (min-width: 701px) and (max-width: 800px) {
  #details {
    display: grid;
    grid-template-areas: "address phone"
                         "email facebook";
  }

  #contact-us-content {
    grid-template-rows: 1fr 1.5fr;
  }
}

@media (max-width: 800px) {
  #contact-us {
    top: 2.6rem;
  }

  #contact-us-content {
    grid-template-columns: 1fr;
    grid-template-areas: "details" "map";
  }

  #details {
    margin-bottom: 1rem;
  }
}

@media (min-width: 451px) and (max-width: 975px) {
  #contact-us-content {
    padding: 0 6% 5.5rem 6%;
  }

  .details-icon {
    justify-content: flex-end;
  }
}

@media (min-width: 1301px) {
  #contact-us {
    top: 5rem;
  }

  .details-icon {
    justify-content: flex-end;
  }
}

/* ----------------------------------------------------------------------------------------------------------------- */
/* ---------------------------------------------------- EXTRAS ----------------------------------------------------- */
/* ----------------------------------------------------------------------------------------------------------------- */

/* -------------------------------------------------- Icon Bar Ad -------------------------------------------------- */

#icon-bar-ad {
  padding: 0.25rem 0.5rem 0.2rem 0.5rem;
  background: #d63535;
  border-bottom: 1px solid #d63535;
  font-size: 1rem;
  font-weight: 300;
  text-align: center;
}

#icon-bar-ad a,
#icon-bar-ad a:focus,
#icon-bar-ad a:hover {
  color: #fff;
  font-weight: bold;
}